docker-secret

Manage Docker swarm secrets.

TLDR

Create a new secret from stdin

$ [command] | docker secret create [secret_name] -
copy

Create a new secret from a file

$ docker secret create [secret_name] [path/to/file]
copy

List all secrets

$ docker secret ls
copy

Display detailed information on one or multiple secrets in a human friendly format

$ docker secret inspect --pretty [secret_name1 secret_name2 ...]
copy

Remove one or more secrets

$ docker secret rm [secret_name1 secret_name2 ...]
copy

Copied to clipboard
free 100$ digital ocean credit