How to manage secrets
Charms can use relations to share secrets, such as API keys, a database’s address, credentials and so on. This document demonstrates how to interact with them as a Juju administrator.
To view all the secrets available in a model, run:
You can also add options to specify an output format, a model other than the current model, an owner, etc.
To drill down into a secret, run the
show-secret command followed by the secret ID. For example:
juju show-secret 9m4e2mr0ui3e8a215n4g
You can also add options to specify the format, the revision, whether to reveal the value of a secret, etc.
Last updated 7 months ago.