docker secret ls
Description
List secrets
Usage
docker secret ls [OPTIONS]
Options
Name, shorthand | Default | Description |
---|---|---|
--quiet, -q | false | Only display IDs |
Parent command
Command | Description |
---|---|
docker secret | Manage Docker secrets |
Related commands
Command | Description |
---|---|
docker secret create | Create a secret from a file or STDIN as content |
docker secret inspect | Display detailed information on one or more secrets |
docker secret ls | List secrets |
docker secret rm | Remove one or more secrets |
Extended description
Run this command on a manager node to list the secrets in the swarm.
Examples
$ docker secret ls ID NAME CREATED UPDATED mhv17xfe3gh6xc4rij5orpfds secret.json 2016-10-27 23:25:43.909181089 +0000 UTC 2016-10-27 23:25:43.909181089 +0000 UTC
© 2017 Docker, Inc.
Licensed under the Apache License, Version 2.0.
Docker and the Docker logo are trademarks or registered trademarks of Docker, Inc. in the United States and/or other countries.
Docker, Inc. and other parties may also have trademark rights in other terms used herein.
https://docs.docker.com/v1.13/engine/reference/commandline/secret_ls/