Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
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 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 se-
     cret  is  deleted and another secret is created with the same name, the se-
     cret inside the container does not change; the old secret value  still  re-
     mains.

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

     Remove all secrets

     $ podman secret rm --all
     3fa78977c813cca1d5b1a4570
     4ee314533b16a47d0d8c6e775

     Removes  the specified secrets. No error is thrown if a non-existent secret
     is included.

     $ podman secret rm --ignore mysecret1 mysecret2 non_existent_secret
     9bb0cad56c4a610da8ebca0cc
     3c497981215f1b5dd9ce19cde

SEE ALSO
     podman(1), podman-secret(1)

HISTORY
     January  2021,  Originally   compiled   by   Ashley   Cui	 acui@redhat.com
     <mailto:acui@redhat.com>

							     podman-secret-rm(1)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=podman-secret-rm&sektion=1&manpath=FreeBSD+Ports+15.1.quarterly>

home | help