Skip to main content

token_vaults

Creates, updates, deletes, gets or lists a token_vaults resource.

Overview

Nametoken_vaults
TypeResource
Idaws.bedrock_agentcore_control.token_vaults

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
kms_configurationobjectThe KMS configuration for the token vault.
last_modified_datestring (date-time)The timestamp when the token vault was last modified.
token_vault_idstringThe ID of the token vault. (pattern: <code>[a-zA-Z0-9-_]+</code>)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_token_vaultselectregionRetrieves information about a token vault.
set_token_vault_cmkupdateregion, kmsConfigurationSets the customer master key (CMK) for a token vault.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

Retrieves information about a token vault.

SELECT
kms_configuration,
last_modified_date,
token_vault_id
FROM aws.bedrock_agentcore_control.token_vaults
WHERE region = '{{ region }}' -- required
;

UPDATE examples

Sets the customer master key (CMK) for a token vault.

UPDATE aws.bedrock_agentcore_control.token_vaults
SET
tokenVaultId = '{{ tokenVaultId }}',
kmsConfiguration = '{{ kmsConfiguration }}'
WHERE
region = '{{ region }}' --required
AND kmsConfiguration = '{{ kmsConfiguration }}' --required
RETURNING
kms_configuration,
last_modified_date,
token_vault_id;