Manage Docker swarm secrets.
# To create a new secret from stdin:
<command> | docker secret create <secret_name> -
# To create a new secret from a file:
docker secret create <secret_name> <path/to/file>
# To list all secrets:
docker secret ls
# To display detailed information on one or multiple secrets in a human friendly format:
docker secret inspect --pretty <secret_name1 secret_name2 ...>
# To remove one or more secrets:
docker secret rm <secret_name1 secret_name2 ...>