docs: add an example to podman-secret-rm man page

This patch adds an example of using the `--ingore` option to the podman-secret-rm.1 man page.

Fixes: #26361

Signed-off-by: shu-kitamura <shusei3316@yahoo.co.jp>
This commit is contained in:
shu-kitamura 2025-06-18 21:10:17 +09:00
parent 9a0a13d2a2
commit d79d596bce
1 changed files with 7 additions and 0 deletions

View File

@ -43,6 +43,13 @@ $ podman secret rm --all
4ee314533b16a47d0d8c6e775
```
Removes the specified secrets. No error is thrown if a non-existent secret is included.
```
$ podman secret rm --ignore mysecret1 mysecret2 non_existent_secret
9bb0cad56c4a610da8ebca0cc
3c497981215f1b5dd9ce19cde
```
## SEE ALSO
**[podman(1)](podman.1.md)**, **[podman-secret(1)](podman-secret.1.md)**