How would the Roles be setup in IAM?
beginrescueend opened this issue · comments
Do you have examples of the IAM Permissions as mentioned in the README?
Thanks!
Hmm, not sure I understand the question. Are you asking how to create a policy with those permissions?
Is this what you want?
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"iam:GenerateServiceLastAccessedDetails",
"iam:GetServiceLastAccessedDetails",
"iam:listrolepolicies",
"iam:listroles"
],
"Resource": "*"
}
]
}
Yeah, that would be nice to have in the README... ...but I tried that and it didn't work.
Thanks for the response.
Please look in #12. Additional rights are necessary with the current commit. I use this policy without problems:
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"iam:GenerateServiceLastAccessedDetails",
"iam:GetServiceLastAccessedDetails",
"iam:listrolepolicies",
"iam:listroles",
"iam:ListUsers",
"iam:ListPolicies",
"iam:ListGroups"
],
"Resource": "*"
}
]
}
If this policy doesn't work, please post the error message.
This should be good with latest update to README, please reopen if needed.