2 回答
- 最新
- 投票最多
- 评论最多
0
See https://docs.aws.amazon.com/redshift/latest/mgmt/data-api.html : "To run a query on a cluster that is owned by another account, the owning account must provide an IAM role that the Data API can assume in the calling account."
0
You can/should specify and API KEY & ID when you're constructing your client which refers to an identity in the target account.
redshift_client = boto3.client('redshift-data',
aws_access_key_id='abc',
aws_secret_access_key='123'
)
相关内容
- AWS 官方已更新 2 年前
- AWS 官方已更新 6 个月前