mirror of
https://github.com/containers/podman.git
synced 2025-09-29 01:35:06 +08:00

Commit 800a2e2d35 introduced a way to disable the conversion of `--`into an en dash on docs.podman.io, so the ugly workaround of escaping the dashes is no longer necessary. Signed-off-by: Paul Holzinger <paul.holzinger@web.de>
40 lines
853 B
Markdown
40 lines
853 B
Markdown
% 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 will still have access to the secret data because secrets are
|
|
copied and mounted into the container when a container is created. If a secret is deleted and
|
|
another secret is created with the same name, the secret inside the container will not change;
|
|
the old secret value will still remain.
|
|
|
|
## OPTIONS
|
|
|
|
#### **--all**, **-a**
|
|
|
|
Remove all existing secrets.
|
|
|
|
#### **--help**
|
|
|
|
Print usage statement.
|
|
|
|
## EXAMPLES
|
|
|
|
```
|
|
$ podman secret rm mysecret1 mysecret2
|
|
```
|
|
|
|
## SEE ALSO
|
|
podman-secret(1)
|
|
|
|
## HISTORY
|
|
January 2021, Originally compiled by Ashley Cui <acui@redhat.com>
|