temporary_glue_partition_credentials
Creates, updates, deletes, gets or lists a temporary_glue_partition_credentials resource.
Overview
| Name | temporary_glue_partition_credentials |
| Type | Resource |
| Id | aws.lakeformation.temporary_glue_partition_credentials |
Fields
The following fields are returned by SELECT queries:
- get_temporary_glue_partition_credentials
| Name | Datatype | Description |
|---|---|---|
access_key_id | string | The access key ID for the temporary credentials. |
expiration | string (date-time) | The date and time when the temporary credentials expire. |
secret_access_key | string | The secret key for the temporary credentials. |
session_token | string | The session token for the temporary credentials. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_temporary_glue_partition_credentials | select | region | This API is identical to GetTemporaryTableCredentials except that this is used when the target Data Catalog resource is of type Partition. Lake Formation restricts the permission of the vended credentials with the same scope down policy which restricts access to a single Amazon S3 prefix. |
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_temporary_glue_partition_credentials
This API is identical to GetTemporaryTableCredentials except that this is used when the target Data Catalog resource is of type Partition. Lake Formation restricts the permission of the vended credentials with the same scope down policy which restricts access to a single Amazon S3 prefix.
SELECT
access_key_id,
expiration,
secret_access_key,
session_token
FROM aws.lakeformation.temporary_glue_partition_credentials
WHERE region = '{{ region }}' -- required
;