github.com/containers/podman/v5@v5.1.0-rc1/docs/source/markdown/podman-secret-rm.1.md (about) 1 % podman-secret-rm 1 2 3 ## NAME 4 podman\-secret\-rm - Remove one or more secrets 5 6 ## SYNOPSIS 7 **podman secret rm** [*options*] *secret* [...] 8 9 ## DESCRIPTION 10 11 Removes one or more secrets. 12 13 `podman secret rm` is safe to use on secrets that are in use by a container. 14 The created container has access to the secret data because secrets are 15 copied and mounted into the container when a container is created. If a secret is deleted and 16 another secret is created with the same name, the secret inside the container does not change; 17 the old secret value still remains. 18 19 ## OPTIONS 20 21 #### **--all**, **-a** 22 23 Remove all existing secrets. 24 25 #### **--help** 26 27 Print usage statement. 28 29 #### **--ignore**, **-i** 30 Ignore errors when specified secrets are not present. 31 32 ## EXAMPLES 33 34 Remove secrets mysecret1 and mysecret2. 35 ``` 36 $ podman secret rm mysecret1 mysecret2 37 ``` 38 39 ## SEE ALSO 40 **[podman(1)](podman.1.md)**, **[podman-secret(1)](podman-secret.1.md)** 41 42 ## HISTORY 43 January 2021, Originally compiled by Ashley Cui <acui@redhat.com>