1 個回答
- 最新
- 最多得票
- 最多評論
0
"COPY command credentials must be supplied using an AWS Identity and Access Management (IAM) role as an argument for the IAM_ROLE parameter or the CREDENTIALS parameter."
You must use a role but you can declare the role to either the IAM_ROLE or CREDENTIALS parameters.
CREDENTIALS 'aws_iam_role=arn:aws:iam::<aws-account-id>:role/<role-name>'
IAM_ROLE 'arn:aws:iam::<aws-account-id>:role/<role-name'
I recommend that you transition to using IAM roles for access control in general, rather than embedding keys in your processes.
已回答 5 年前
相關內容
- AWS 官方已更新 7 個月前
- AWS 官方已更新 5 個月前
- AWS 官方已更新 2 年前
I found the problem in our upload code, the target table has a TIME column which is not supported.