anjuna-policy-manager list secrets

anjuna-policy-manager list secrets COMMAND [OPTIONS]

Lists the secrets in the Anjuna Policy Manager. COMMAND must be one of all, enclave, or signer. Note that the options supported differ for each command, as described below.

Arguments

COMMAND

The scope of the secrets to list.

When COMMAND is all, all secrets are listed.

When COMMAND is enclave, you must provide --enclave and --signer, and the command lists all secrets that can be accessed by that specific enclave.

When COMMAND is signer, you must provide --signer, and the command lists all secrets that can be accessed by enclaves that were signed by the signer.

Options

--enclave <enclave-id>

Enclave ID of the enclave in hex (without an 0x prefix). Only used when the COMMAND is enclave.

--signer <signer-id>

Signer ID of the key used to sign the enclave in hex (without an 0x prefix). Only used when the COMMAND is enclave or signer.

Global options

The following options are available for all anjuna-policy-manager subcommands.

Global options

--addr <address>

Address of the Anjuna Policy Manager. This can also be provided via the ANJUNA_ADDR environment variable.

--ca-cert <file-path>

Path to a PEM-encoded CA certificate used to verify the Policy Manager’s TLS certificate. This can also be provided via the ANJUNA_CACERT environment variable.

--engine-path <path>

Alternative path for the secret engine (default is "anjuna").

--token <token>

The management token for the Anjuna Policy Manager. This can also be provided via the ANJUNA_TOKEN environment variable.

-h, --help

Prints the help information for this command.

Exit status

  • 0 on success

  • > 0 on error