1podman-secret-inspect(1)    General Commands Manual   podman-secret-inspect(1)
2
3
4

NAME

6       podman-secret-inspect - Display detailed information on one or more se‐
7       crets
8
9

SYNOPSIS

11       podman secret inspect [options] secret [...]
12
13

DESCRIPTION

15       Inspects the specified secret.
16
17
18       By default, this renders all results in a JSON array. If  a  format  is
19       specified,  the  given  template will be executed for each result.  Se‐
20       crets can be queried individually by providing their  full  name  or  a
21       unique partial name.
22
23

OPTIONS

25   --format, -f=format
26       Format secret output using Go template.
27
28
29       ┌─────────────────────────┬────────────────────────────┐
30Placeholder              Description                
31       ├─────────────────────────┼────────────────────────────┤
32       │.CreatedAt               │ When  secret  was  created │
33       │                         │ (relative  timestamp,  hu‐ │
34       │                         │ man-readable)              │
35       ├─────────────────────────┼────────────────────────────┤
36       │.ID                      │ ID of secret               │
37       ├─────────────────────────┼────────────────────────────┤
38       │.Spec                    │ Details of secret          │
39       ├─────────────────────────┼────────────────────────────┤
40       │.Spec.Driver             │ Driver info                │
41       ├─────────────────────────┼────────────────────────────┤
42       │.Spec.Driver.Name        │ Driver name (string)       │
43       ├─────────────────────────┼────────────────────────────┤
44       │.Spec.Driver.Options ... │ Driver   options  (map  of │
45       │                         │ driver-specific options)   │
46       ├─────────────────────────┼────────────────────────────┤
47       │.Spec.Name               │ Name of secret             │
48       ├─────────────────────────┼────────────────────────────┤
49       │.UpdatedAt               │ When secret was  last  up‐ │
50       │                         │ dated (relative timestamp, │
51       │                         │ human-readable)            │
52       └─────────────────────────┴────────────────────────────┘
53
54   --help
55       Print usage statement.
56
57
58   --pretty
59       Print inspect output in human-readable format
60
61

EXAMPLES

63              $ podman secret inspect mysecret
64              $ podman secret inspect --format "{{.Name} {{.Scope}}" mysecret
65
66
67

SEE ALSO

69       podman(1), podman-secret(1)
70
71

HISTORY

73       January  2021,  Originally  compiled  by  Ashley  Cui   acui@redhat.com
74       ⟨mailto:acui@redhat.com⟩
75
76
77
78                                                      podman-secret-inspect(1)
Impressum