1podman-secret-rm(1) General Commands Manual podman-secret-rm(1)
2
3
4
6 podman-secret-rm - Remove one or more secrets
7
8
10 podman secret rm [options] secret [...]
11
12
14 Removes one or more secrets.
15
16
17 podman secret rm is safe to use on secrets that are in use by a con‐
18 tainer. The created container has access to the secret data because
19 secrets are copied and mounted into the container when a container is
20 created. If a secret is deleted and another secret is created with the
21 same name, the secret inside the container does not change; the old se‐
22 cret value still remains.
23
24
26 --all, -a
27 Remove all existing secrets.
28
29
30 --help
31 Print usage statement.
32
33
34 --ignore, -i
35 Ignore errors when specified secrets are not present.
36
37
39 $ podman secret rm mysecret1 mysecret2
40
41
42
44 podman(1), podman-secret(1)
45
46
48 January 2021, Originally compiled by Ashley Cui acui@redhat.com
49 ⟨mailto:acui@redhat.com⟩
50
51
52
53 podman-secret-rm(1)