Hook command 'secret-info-get'

The information in this doc is based on Juju version 3.5.6, and may not accurately reflect other versions of Juju.

Summary

Get a secret’s metadata info.

Usage

secret-info-get [options] <ID>

Options

Flag Default Usage
--format yaml Specify output format (json|yaml)
--label a label used to identify the secret
-o, --output Specify an output file

Details

Get the metadata of a secret with a given secret ID. Either the ID or label can be used to identify the secret.

Examples

secret-info-get secret:9m4e2mr0ui3e8a215n4g
secret-info-get --label db-password