dwww Home | Manual pages | Find package

podman-secret-rm(1)         General Commands Manual         podman-secret-rm(1)

NAME
       podman-secret-rm - 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 con-
       tainer.  The created container has access to the secret data because se-
       crets are copied and mounted into the container when a container is cre-
       ated. 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.compodman-secret-rm(1)

Generated by dwww version 1.16 on Tue Dec 16 05:36:33 CET 2025.