anjuna-policy-manager authorize enclave

anjuna-policy-manager authorize enclave <secret-name>  \
  --enclave <enclave-id>  \
  --signer <signer-id>

Grants a specific enclave and signer combination access to the specified secret.

Arguments

<secret-name>

The name of the secret to add grant access to.

Options

--enclave <enclave-id>

Enclave ID of the enclave in hex (without an 0x prefix).

--signer <signer-id>

Signer ID of the key used to sign the enclave in hex (without an 0x prefix).

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