mirror of
https://github.com/containers/podman.git
synced 2025-07-02 00:30:00 +08:00
Improve documentation for podman-secret-inspect, closes #26362
Signed-off-by: Alessandro Grassi <alessandro@aggro.it>
This commit is contained in:
@ -38,7 +38,7 @@ Print usage statement.
|
||||
|
||||
#### **--pretty**
|
||||
|
||||
Print inspect output in human-readable format
|
||||
Print inspect output in human-readable format. Ignores fields from **--format**.
|
||||
|
||||
#### **--showsecret**
|
||||
|
||||
@ -51,6 +51,12 @@ Inspect the secret mysecret.
|
||||
$ podman secret inspect mysecret
|
||||
```
|
||||
|
||||
Inspect the secret mysecret and print it in a human redable format instead of JSON, with the default fields.
|
||||
|
||||
```
|
||||
$ podman secret inspect --pretty mysecret
|
||||
```
|
||||
|
||||
Inspect the secret mysecret and display the Name and Labels field.
|
||||
```
|
||||
$ podman secret inspect --format "{{.Spec.Name}} {{.Spec.Labels}}" mysecret
|
||||
|
Reference in New Issue
Block a user