juju remove-secret

Summary

Remove a existing secret.

Usage

juju remove-secret [options] <ID>|<name>

Options

Flag

Default

Usage

-m, --model

Model to operate in. Accepts [<controller name>:]<model name>|<model UUID>

--revision

0

remove the specified revision

Examples

juju remove-secret my-secret
juju remove-secret secret:9m4e2mr0ui3e8a215n4g
juju remove-secret secret:9m4e2mr0ui3e8a215n4g --revision 4

Details

Remove all the revisions of a secret with the specified URI or remove the provided revision only.