Fix typo in secret inspect examples

Signed-off-by: Eric D. Helms <ericdhelms@gmail.com>
This commit is contained in:
Eric D. Helms
2024-10-03 15:22:16 -04:00
parent 70f31281d6
commit d8b26ac1b4

View File

@ -51,14 +51,14 @@ Inspect the secret mysecret.
$ podman secret inspect mysecret
```
Inspect the secret mysecret and display the Name and Scope field.
Inspect the secret mysecret and display the Name and Labels field.
```
$ podman secret inspect --format "{{.Name} {{.Scope}}" mysecret
$ podman secret inspect --format "{{.Spec.Name}} {{.Spec.Labels}}" mysecret
```
Inspect the secret mysecret and display the Name and SecretData fields. Note this will display the secret data to the screen.
```
$ podman secret inspect --showsecret --format "{{.Name} {{.SecretData}}" mysecret
$ podman secret inspect --showsecret --format "{{.Spec.Name}} {{.SecretData}}" mysecret
```
## SEE ALSO