github.com/hanks177/podman/v4@v4.1.3-0.20220613032544-16d90015bc83/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 will still have 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 will not change; 17 the old secret value will still remain. 18 19 ## OPTIONS 20 21 #### **--all**, **-a** 22 23 Remove all existing secrets. 24 25 #### **--help** 26 27 Print usage statement. 28 29 ## EXAMPLES 30 31 ``` 32 $ podman secret rm mysecret1 mysecret2 33 ``` 34 35 ## SEE ALSO 36 **[podman(1)](podman.1.md)**, **[podman-secret(1)](podman-secret.1.md)** 37 38 ## HISTORY 39 January 2021, Originally compiled by Ashley Cui <acui@redhat.com>