[英]Amazon S3 - Token Vending Machines/IAM
I have the following policy configured in a IAM user and in one TVM because I need acces from S3 in an Android app but, whenever I try to save my credentials i get the same "500 - Server error". 我在IAM用户和一个TVM中配置了以下策略,因为我需要在Android应用中使用S3的访问权限,但是每当我尝试保存凭据时,都会收到相同的“ 500-服务器错误”。 I dont have idea about the problem but i guess that the policy is bad configured:
我没有关于这个问题的想法,但我认为该政策配置错误:
{
"Statement": [
{
"Effect": "Allow",
"Action": "sts:GetFederationToken",
"Resource": "*"
},
{
"Effect": "Allow",
"Action": "iam:GetUser",
"Resource": "*"
},
{
"Effect": "Allow",
"Action": "s3:*",
"Resource": "*"
}
]
}
Disclamer: this answer was moved from the question to a community wiki here. Disclamer:此答案已从问题移至此处的社区Wiki。
Solution: The problem was that I also needed to add permissions for sdb, where the credentials are stored. 解决方案:问题是我还需要为存储凭据的sdb添加权限。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.