secret-list¶
Shortcut: sl
Help option
~ $ dk secret-list --help
Current context is: default
Usage: dk secret-list [OPTIONS] [PATH]
List all Vault Secrets. Use the recursive option to show
secrets grouped in Vault sub-directories.
Options:
-rc, --recursive Recursive
--help Show this message and exit.
Shows standalone secrets and secret groups
~ $ dk secret-list
Current context is: default
YYYY-MM-DD HH:MM:SS - Getting the list of secrets
secret_list - elapsed: 0
secret-list returned 10 secrets
dockerhub/
github-password
github-url
github-username
mongodb-password
mongodb-url
mongodb-username
postgresql/
s3_schema/
tableau_online/
Show all secrets using recursive option and shortcuts
~ $ dk sl -rc
Current context is: default
YYYY-MM-DD HH:MM:SS - Getting the list of secrets
secret_list - elapsed: 0
secret-list returned 21 secrets
vault://dockerhub/email
vault://dockerhub/namespace
vault://dockerhub/password
vault://dockerhub/username
vault://github-password
vault://github-url
vault://github-username
vault://mongodb-password
vault://mongodb-url
vault://mongodb-username
vault://postgresql/database
vault://postgresql/hostname
vault://postgresql/password
vault://postgresql/port
vault://postgresql/username
vault://s3_schema/bucket
vault://s3_schema/s3-access-key
vault://s3_schema/s3-secret-key
vault://tableau_online/password
vault://tableau_online/url
vault://tableau_online/username