PVSECRET-RETRIEVE(1)

NAME
pvsecret-retrieve - Retrieve a secret from the UV secret store (s390x only)

SYNOPSIS
pvsecret retrieve [OPTIONS] [INPUT] [OUTPUT]
pvsecret retr [OPTIONS] [INPUT] [OUTPUT]

DESCRIPTION
Retrieve a secret from the UV secret store (s390x only). Retrieves a retrievable secret from the UV-storage of the guest by its ID. The ID may be provided as yaml file or as 32 byte hex-string. The secret is written as PEM file. For Plaintext secret PLAINTEXT SECRET is used as PEM name and for protected keys the PEM name IBM PROTECTED KEY is used.

OPTIONS

<INPUT>
    Specify the secret ID to be retrieved. Input type depends on --inform. If `yaml` (default) is specified, it must be a yaml created by the create subcommand of this tool. If `hex` is specified, it must be a 32 byte handle encodes in hexadecimal. Leading zeros are required. If there are multiple secrets in the store with the same Id there are no guarantees on which specific secret is retrieved. Use --inform=idx to make sure a specific secret is retrieved.

<OUTPUT>
    Specify the output path to place the secret value.

-i, --input <ID>
    Specify the secret ID to be retrieved. Input type depends on --inform. If `yaml` (default) is specified, it must be a yaml created by the create subcommand of this tool. If `hex` is specified, it must be a 32 byte handle encodes in hexadecimal. Leading zeros are required. If there are multiple secrets in the store with the same Id there are no guarantees on which specific secret is retrieved. Use --inform=idx to make sure a specific secret is retrieved.

-o, --output <FILE>
    Specify the output path to place the secret value.

--inform <INFORM>
    Define input type for the Secret ID. [default: 'yaml'] Possible values:
        - yaml: Use a yaml file. - hex: Use a hex string. - name: Use a name-string. Will hash it if no secret with the name found. - idx: Use the secret-index (base 10) instead of the secret-ID.

--outform <OUTFORM>
    Define the output format for the retrieved secret. [default: 'pem'] Possible values:
        - pem: Write the secret as PEM. - bin: Write the secret in binary.

-h, --help
    Print help (see a summary with -h).

SEE ALSO

pvsecret(1)