mirror of
https://github.com/containers/podman.git
synced 2025-06-01 01:00:22 +08:00
Add --replace flag to podman secret create
Users may want to replace the secret used within containers, without destroying the secret and recreating it. Partial fix for https://github.com/containers/podman/issues/18667 Make sure podman --remote secret inspect and podman secret inspect return the same error message. Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
This commit is contained in:
@ -40,6 +40,12 @@ Print usage statement.
|
||||
|
||||
Add label to secret. These labels can be viewed in podman secrete inspect or ls.
|
||||
|
||||
#### **--replace**=*false*
|
||||
|
||||
If existing secret with the same name already exists, update the secret.
|
||||
The `--replace` option does not change secrets within existing containers, only newly created containers.
|
||||
The default is **false**.
|
||||
|
||||
## EXAMPLES
|
||||
|
||||
```
|
||||
|
Reference in New Issue
Block a user