mirror of https://github.com/docker/docs.git
24 lines
760 B
YAML
24 lines
760 B
YAML
command: docker secret ls
|
|
aliases: list
|
|
short: List secrets
|
|
long: |-
|
|
Run this command on a manager node to list the secrets in the swarm.
|
|
|
|
For detailed information about using secrets, refer to [manage sensitive data with Docker secrets](https://docs.docker.com/engine/swarm/secrets/).
|
|
usage: docker secret ls [OPTIONS]
|
|
pname: docker secret
|
|
plink: docker_secret.yaml
|
|
options:
|
|
- option: quiet
|
|
shorthand: q
|
|
default_value: "false"
|
|
description: Only display IDs
|
|
examples: |-
|
|
```bash
|
|
$ 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
|
|
```
|
|
|