Permission Policies in the Reference Architecture #525
-
|
Can you tell me where the permission policies are applied in the code? I’m trying to see what users have access to the secrets manager. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
In the reference architecture in Looking at Let's jump over to the service catalog, specifically modules/landingzone/account-baseline-security/main.tf (about line 200): So we'll dive down to the module level and take a look at terraform-aws-security/modules/iam-groups/main.tf: The groups are defined here, for example, the The policies are defined on line 35: Note that this is loading another module, iam-policies. In this module we see the policy documents that then get attached and used, for example: Note that there are no references specifically to any If you want to create your own policies, you can do that with the custom-iam-entity module. |
Beta Was this translation helpful? Give feedback.
In the reference architecture in
security/_global/account-baseline/users.ymlwe can see the users and IAM groups that they belong to.Looking at
security/_global/account-baseline/terragrunt.hcl, we can see that it is sourcing the service catalog (roughly lines 13 and 65-66):Let's jump over to the service catalog, specifically modules/landingzone/account-baseline-security/main.tf (about line 200):