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 is executed for each result.  Secrets can
20       be queried individually by providing their full name or a  unique  par‐
21       tial 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       │.SecretData              │ Secret   Data   (Displayed │
39       │                         │ only with --showsecret op‐ │
40       │                         │ tion)                      │
41       ├─────────────────────────┼────────────────────────────┤
42       │.Spec ...                │ Details of secret          │
43       ├─────────────────────────┼────────────────────────────┤
44       │.Spec.Driver             │ Driver info                │
45       ├─────────────────────────┼────────────────────────────┤
46       │.Spec.Driver.Name        │ Driver name (string)       │
47       ├─────────────────────────┼────────────────────────────┤
48       │.Spec.Driver.Options ... │ Driver   options  (map  of │
49       │                         │ driver-specific options)   │
50       ├─────────────────────────┼────────────────────────────┤
51       │.Spec.Labels             │ Labels for this secret     │
52       ├─────────────────────────┼────────────────────────────┤
53       │.Spec.Name               │ Name of secret             │
54       ├─────────────────────────┼────────────────────────────┤
55       │.UpdatedAt               │ When secret was  last  up‐ │
56       │                         │ dated (relative timestamp, │
57       │                         │ human-readable)            │
58       └─────────────────────────┴────────────────────────────┘
59
60   --help
61       Print usage statement.
62
63
64   --pretty
65       Print inspect output in human-readable format
66
67
68   --showsecret
69       Display secret data
70
71

EXAMPLES

73              $ podman secret inspect mysecret
74              $ podman secret inspect --format "{{.Name} {{.Scope}}" mysecret
75              $ podman secret inspect --showsecret --format "{{.Name} {{.SecretData}}" mysecret
76
77
78

SEE ALSO

80       podman(1), podman-secret(1)
81
82

HISTORY

84       January  2021,  Originally  compiled  by  Ashley  Cui   acui@redhat.com
85       ⟨mailto:acui@redhat.com⟩
86
87
88
89                                                      podman-secret-inspect(1)
Impressum