Skip to content

BedrockAgentCoreControlClient.reset_token_vault_key_material

rboto-bedrock-agentcore-control==0.4.0 · Service index · Types

Model summary (excerpt): Resets the key material for a token vault whose customer managed KMS key has been deleted, and re-encrypts the token vault with an Amazon Web Services managed key so that you can use the token vault again. This operation can't be undone. The reset permanently deletes the OAuth2 access tokens and refresh tokens stored in the token vault, including tokens obtained through all supported flows....

Install and imports

python -m pip install "rboto[bedrock-agentcore-control]==0.4.0"
from rboto import BedrockAgentCoreControlClient
from rboto_bedrock_agentcore_control.types import (
    ResetTokenVaultKeyMaterialOutput,
)

Signature

async def reset_token_vault_key_material(
    *,
    token_vault_id: str,
) -> ResetTokenVaultKeyMaterialOutput: ...

Arguments without defaults are required. None omits an optional request argument. Static types do not validate resource existence, permissions, lengths, ranges, or conditional service requirements.

Arguments

Argument Required Model notes (excerpt)
token_vault_id Yes The unique identifier of the token vault to reset. To reset your account's default token vault, specify default .

Output

ResetTokenVaultKeyMaterialOutput.

Read-only native attributes, accessed as response.field. Collection getters materialize Python values; to_dict() recursively materializes a mapping. Streams are consumed once.

Field Type Presence References
token_vault_id str Always present —
kms_configuration KmsConfigurationOutput | None Always present KmsConfigurationOutput
last_modified_date str Always present —

| None means a value can be absent. Output mappings include every declared key; optional input keys may be omitted. Unknown output enum/union variants are not automatically valid inputs.

ResetTokenVaultKeyMaterialOutput

Follow these links for nested inputs and outputs; recursive types link back to the same type page.

Pagination and streaming

No generated paginator for this operation.

No output stream.

Errors

Import from rboto_bedrock_agentcore_control.exceptions:

AccessDeniedError, ConflictError, InternalServerError, ResourceNotFoundError, ThrottlingError, UnauthorizedError, ValidationError.

Other service failures use the service base error; credential, transport and timeout failures use shared errors.

Service guide · Pinned model