Do you want BuboFlash to help you learning these things? Or do you want to add or correct something? Click here to log in or create user.



Question
In AWS IAM, the JSON-defined policies contain an array of Statements, each having the keys: Effect, [...] and Resource.
Answer
?

Question
In AWS IAM, the JSON-defined policies contain an array of Statements, each having the keys: Effect, [...] and Resource.
Answer

Action

^^^ e.g.: To allow a user to rotate their own access key, you have Effect is "Allow" (can either be "Allow" or "Deny"), the Action is anything related to Accesskey (e.g. Create, Delete, etc) and the Resource is just their own IAM user.

{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Effect": "Allow",
            "Action": [
                "iam:*AccessKey*"
            ],
            "Resource": [
                "arn:aws:iam::*:user/${aws:username}"
            ]
        }
    ]
}


Question
In AWS IAM, the JSON-defined policies contain an array of Statements, each having the keys: Effect, [...] and Resource.
Answer

Action

^^^ e.g.: To allow a user to rotate their own access key, you have Effect is "Allow" (can either be "Allow" or "Deny"), the Action is anything related to Accesskey (e.g. Create, Delete, etc) and the Resource is just their own IAM user.

{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Effect": "Allow",
            "Action": [
                "iam:*AccessKey*"
            ],
            "Resource": [
                "arn:aws:iam::*:user/${aws:username}"
            ]
        }
    ]
}


statusnot learnedmeasured difficulty37% [default]last interval [days]               
repetition number in this series0memorised on               scheduled repetition               
scheduled repetition interval               last repetition or drill


Discussion

Do you want to join discussion? Click here to log in or create user.