Command 'juju remove-secret'

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

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.