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'
)
相關內容
- 已提問 1 年前
- AWS 官方已更新 2 年前
- AWS 官方已更新 4 個月前
- AWS 官方已更新 2 年前
- AWS 官方已更新 1 年前