github.com/fabiokung/docker@v0.11.2-0.20170222101415-4534dcd49497/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 ## Description 31 32 Run this command on a manager node to list the secrets in the swarm. 33 34 ## Examples 35 36 ```bash 37 $ docker secret ls 38 39 ID NAME CREATED UPDATED 40 mhv17xfe3gh6xc4rij5orpfds secret.json 2016-10-27 23:25:43.909181089 +0000 UTC 2016-10-27 23:25:43.909181089 +0000 UTC 41 ``` 42 43 ## Related commands 44 45 * [secret create](secret_create.md) 46 * [secret inspect](secret_inspect.md) 47 * [secret rm](secret_rm.md)