podman-secret-rm - Man Page

Remove one or more secrets

Synopsis

podman secret rm [options] secret [...]

Description

Removes one or more secrets.

podman secret rm is safe to use on secrets that are in use by a container. The created container has access to the secret data because secrets are copied and mounted into the container when a container is created. If a secret is deleted and another secret is created with the same name, the secret inside the container does not change; the old secret value still remains.

Options

--all, -a

Remove all existing secrets.

--help

Print usage statement.

--ignore, -i

Ignore errors when specified secrets are not present.

Examples

Remove secrets mysecret1 and mysecret2.

$ podman secret rm mysecret1 mysecret2

See Also

podman(1), podman-secret(1)

History

January 2021, Originally compiled by Ashley Cui acui@redhat.com ⟨mailto:acui@redhat.com⟩

Referenced By

podman-secret(1).

The man page docker-secret-rm(1) is an alias of podman-secret-rm(1).