github.com/flavio/docker@v0.1.3-0.20170117145210-f63d1a6eec47/docs/reference/commandline/secret_ls.md (about) 1 --- 2 title: "secret ls" 3 description: "The secret ls command description and usage" 4 keywords: ["secret, ls"] 5 --- 6 7 <!-- This file is maintained within the docker/docker Github 8 repository at https://github.com/docker/docker/. Make all 9 pull requests against that repo. If you see this file in 10 another repository, consider it read-only there, as it will 11 periodically be overwritten by the definitive file. Pull 12 requests which include edits to this file in other repositories 13 will be rejected. 14 --> 15 16 # secret ls 17 18 ```Markdown 19 Usage: docker secret ls [OPTIONS] 20 21 List secrets 22 23 Aliases: 24 ls, list 25 26 Options: 27 -q, --quiet Only display IDs 28 ``` 29 30 Run this command on a manager node to list the secrets in the swarm. 31 32 ## Examples 33 34 ```bash 35 $ docker secret ls 36 ID NAME CREATED UPDATED 37 mhv17xfe3gh6xc4rij5orpfds secret.json 2016-10-27 23:25:43.909181089 +0000 UTC 2016-10-27 23:25:43.909181089 +0000 UTC 38 ``` 39 ## Related information 40 41 * [secret create](secret_create.md) 42 * [secret inspect](secret_inspect.md) 43 * [secret rm](secret_rm.md)