diff options
author | Jakub Guzik <jguzik@redhat.com> | 2021-12-13 11:21:31 +0100 |
---|---|---|
committer | Jakub Guzik <jguzik@redhat.com> | 2021-12-14 10:41:03 +0100 |
commit | 50501f49a327a2f5c7f1c6746f9fde482c877387 (patch) | |
tree | 26781fbc9830785e9442d42378dcb2d0ec9c769a /docs | |
parent | 4543fd463e3d02aea42f1a5b6ed0d2ed190de655 (diff) | |
download | podman-50501f49a327a2f5c7f1c6746f9fde482c877387.tar.gz podman-50501f49a327a2f5c7f1c6746f9fde482c877387.tar.bz2 podman-50501f49a327a2f5c7f1c6746f9fde482c877387.zip |
Add secret list --filter to cli
This PR is a follow-up of #11431. It adds possibility of filtering
secret list based on id and name.
Signed-off-by: Jakub Guzik <jguzik@redhat.com>
Diffstat (limited to 'docs')
-rw-r--r-- | docs/source/markdown/podman-secret-ls.1.md | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/docs/source/markdown/podman-secret-ls.1.md b/docs/source/markdown/podman-secret-ls.1.md index 27576f026..f33ccf41b 100644 --- a/docs/source/markdown/podman-secret-ls.1.md +++ b/docs/source/markdown/podman-secret-ls.1.md @@ -20,11 +20,24 @@ Format secret output using Go template. Omit the table headings from the listing of secrets. . +#### **--filter**, **-f**=*filter=value* + +Filter output based on conditions given. +Multiple filters can be given with multiple uses of the --filter option. + +Valid filters are listed below: + +| **Filter** | **Description** | +| ---------- | ----------------------------------------------------------------- | +| name | [Name] Secret name (accepts regex) | +| id | [ID] Full or partial secret ID | + ## EXAMPLES ``` $ podman secret ls $ podman secret ls --format "{{.Name}}" +$ podman secret ls --filter name=confidential ``` ## SEE ALSO |