我试图连接雅典娜从Javascript使用未经授权的认知IAM角色,但我得到了AccessDenied异常。在相同的设置下,我能够访问S3和dynamodb。我为S3提供了特权,为unauth访问提供了池角色的雅典娜。
Error: User: arn:aws:sts::11xxxxxxxxx:assumed-role/Cognito_Pool1Unauth_Role/CognitoIdentityCredentials is not authorized to perform: athena:StartQueryExecution
// A lot of useless lines
at constructor.callListeners (aws-sdk.min.js:2) "AccessDeniedException: User: arn:aws:sts::11xxxxxxxxx:assumed-role/Cognito_Pool1Unauth_Role/CognitoIdentityCredentials is not authorized to perform: athena:StartQueryExecution是不是我们不能连接雅典娜从Javascript使用认知的未经授权的池Id?我觉得我们应该能。我们还需要做什么其他的设置吗?
发布于 2018-01-07 22:25:03
通过issue映射的角色似乎存在问题。对于Dynamo和其他服务,它运行得很好。通过指定具有权限的角色,它可以工作。
https://stackoverflow.com/questions/48010251
复制相似问题