Provided by: podman_5.0.3+ds1-5ubuntu1_amd64 bug

NAME

       podman-secret-inspect - Display detailed information on one or more secrets

SYNOPSIS

       podman secret inspect [options] secret [...]

DESCRIPTION

       Inspects the specified secret.

       By  default, this renders all results in a JSON array. If a format is specified, the given
       template is executed for each result.  Secrets can be queried  individually  by  providing
       their full name or a unique partial name.

OPTIONS

   --format, -f=format
       Format secret output using Go template.

       ┌─────────────────────────┬──────────────────────────────────┐
       │PlaceholderDescription                      │
       ├─────────────────────────┼──────────────────────────────────┤
       │.CreatedAt ...           │ When    secret    was    created │
       │                         │ (relative   timestamp,    human- │
       │                         │ readable)                        │
       ├─────────────────────────┼──────────────────────────────────┤
       │.IDID of secret                     │
       ├─────────────────────────┼──────────────────────────────────┤
       │.SecretData              │ Secret Data (Displayed only with │
       │                         │ --showsecret option)             │
       ├─────────────────────────┼──────────────────────────────────┤
       │.Spec ...Details of secret                │
       ├─────────────────────────┼──────────────────────────────────┤
       │.Spec.Driver ...Driver info                      │
       ├─────────────────────────┼──────────────────────────────────┤
       │.Spec.Driver.NameDriver name (string)             │
       ├─────────────────────────┼──────────────────────────────────┤
       │.Spec.Driver.Options ... │ Driver options (map  of  driver- │
       │                         │ specific options)                │
       ├─────────────────────────┼──────────────────────────────────┤
       │.Spec.Labels ...Labels for this secret           │
       ├─────────────────────────┼──────────────────────────────────┤
       │.Spec.NameName of secret                   │
       ├─────────────────────────┼──────────────────────────────────┤
       │.UpdatedAt ...           │ When  secret  was  last  updated │
       │                         │ (relative   timestamp,    human- │
       │                         │ readable)                        │
       └─────────────────────────┴──────────────────────────────────┘

   --help
       Print usage statement.

   --pretty
       Print inspect output in human-readable format

   --showsecret
       Display secret data

EXAMPLES

       Inspect the secret mysecret.

       $ podman secret inspect mysecret

       Inspect the secret mysecret and display the Name and Scope field.

       $ podman secret inspect --format "{{.Name} {{.Scope}}" 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

SEE ALSO

       podman(1), podman-secret(1)

HISTORY

       January 2021, Originally compiled by Ashley Cui acui@redhat.commailto:acui@redhat.compodman-secret-inspect(1)