Vault V2 General API Reference
curl -sSLX POST 'https://vault.aws.us.pangea.cloud/v2/get' \
-H 'Authorization: Bearer <your_token>' \
-H 'Content-Type: application/json' \
-d '{}'
Response
Get
Retrieve details for a key, secret, token, or folder.
curl -sSLX POST 'https://vault.aws.us.pangea.cloud/v2/get_bulk' \
-H 'Authorization: Bearer <your_token>' \
-H 'Content-Type: application/json' \
-d '{}'
Response
Get bulk
Retrieve details for multiple Vault items, including keys, secrets, tokens, or folders, that match a given filter specification.
curl -sSLX POST 'https://vault.aws.us.pangea.cloud/v2/list' \
-H 'Authorization: Bearer <your_token>' \
-H 'Content-Type: application/json' \
-d '{}'
Response
List
Retrieve an array of Vault items matching a given filter, including secrets, keys, tokens, and folders, along with their common details.
curl -sSLX POST 'https://vault.aws.us.pangea.cloud/v2/update' \
-H 'Authorization: Bearer <your_token>' \
-H 'Content-Type: application/json' \
-d '{}'
Response
Update
Update information associated with a key, secret, token, or folder.
curl -sSLX POST 'https://vault.aws.us.pangea.cloud/v2/delete' \
-H 'Authorization: Bearer <your_token>' \
-H 'Content-Type: application/json' \
-d '{}'
Response
Delete
Delete a key, secret, token, or folder.
curl -sSLX POST 'https://vault.aws.us.pangea.cloud/v2/export' \
-H 'Authorization: Bearer <your_token>' \
-H 'Content-Type: application/json' \
-d '{}'
Response
Export
Export a symmetric or asymmetric key marked as exportable when added to Vault.
When no asymmetric_algorithm
option is selected, the exported symmetric key material is a Base64-encoded byte array, and the asymmetric key pair is exported in PEM format.
When an asymmetric_algorithm
option is selected, the asymmetric_public_key
parameter must be populated with an RSA-4096 key.
If asymmetric_algorithm
is set to RSA-OAEP-4096-SHA512
, only key material up to 382 bytes can be encrypted using the provided asymmetric_public_key
value. The exported symmetric and asymmetric private key material is encrypted and Base64-encoded. Public keys are exported in PEM format.
Set asymmetric_algorithm
to RSA-KEM-NO-PADDING-4096
to securely export key material of any length using the Key Encapsulation Method (KEM), as described in RFC 5990.
Learn more about exporting key material from Vault in the Export a Key documentation.
curl -sSLX POST 'https://vault.aws.us.pangea.cloud/v2/state/change' \
-H 'Authorization: Bearer <your_token>' \
-H 'Content-Type: application/json' \
-d '{}'
Response
Change state
Change the state of a version of a Vault key, secret, or token.
Was this article helpful?