1개 답변
- 최신
- 최다 투표
- 가장 많은 댓글
1
Create an IAM role in the AWS account that contains the AWS Glue data catalog and data. This role should allow redshift to assume it.
Create an IAM role in the AWS account with the Redshift cluster. Attach this role to the cluster.
The role attached to the Redshift cluster should be granted permissions to assume the role created in Step 1.
Grant the USAGE permission on the AWS Glue database to the IAM principal representing the role attached to the Redshift cluster. For example:
GRANT USAGE ON DATABASE awsdatacatalog TO 'IAM:role-attached-to-redshift';
Connect to Redshift using the "Temporary credentials using your IAM identity" authentication method. This will allow querying the external AWS Glue data catalog using three-part names starting with
awsdatacatalog.database_name.table_name
.
관련 콘텐츠
- AWS 공식업데이트됨 2년 전