resource_api_keys
Creates, updates, deletes, gets or lists a resource_api_keys resource.
Overview
| Name | resource_api_keys |
| Type | Resource |
| Id | aws.bedrock_agentcore.resource_api_keys |
Fields
The following fields are returned by SELECT queries:
- get_resource_api_key
| Name | Datatype | Description |
|---|---|---|
api_key | string | The API key associated with the resource requested. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_resource_api_key | select | region | Retrieves the API key associated with an API key credential provider. |
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.
| Name | Datatype | Description |
|---|---|---|
region | string | AWS region (default: us-east-1) |
SELECT examples
- get_resource_api_key
Retrieves the API key associated with an API key credential provider.
SELECT
api_key
FROM aws.bedrock_agentcore.resource_api_keys
WHERE region = '{{ region }}' -- required
;