Questions tagged [aws-iam-policy]

98 questions
0
votes
1 answer

Variable in AWS IAM role to grant permissions to Lambda function

I am trying to figure out if it is possible to design an AWS IAM role that would dynamically grant permission to resource based on the name of the calling resource. For example I currently have a role that grants a Lambda function permission to…
0
votes
1 answer

Using IAM Role for master username and password on RDS

Need to access RdS database with iam role for master username and master password. I can use IAM role for database user. Any suggestions?
Bk Bharath
  • 11
  • 2
0
votes
1 answer

How can I generate a minimum viable AWS IAM policy from my terraform?

I'm planning on creating a smoke-test that runs using a GitHub actions workflow to test my EKS cluster infrastructure as code, but I don't know what should be the minimum permissions my Terraform environment requires to successfully apply. I do NOT…
Marco
  • 4,817
  • 5
  • 34
  • 75
-1
votes
2 answers

aws permission iam group in another account access

I have a system with 2 AWS Accounts, and I want an IAM group on account 2 to access a bucket on account 1. Account 1 has a large car database and an S3 bucket with files for each car. Account 2 does the communication (SNS/SQS) with a lot of physical…
-1
votes
1 answer

How to create IAM policy with a condition that restricts a user to a certain Elastic Beanstalk application?

I am trying to create an IAM policy that allows some actions on a resource, but only if the access key is used from a specific Elastic Beanstalk application or container. Does anyone know how to do this? I tried this, but to no avail: "Sid":…
-1
votes
1 answer

IAM policy document multiple key condition

I have a API key and I only want to allow the developers to view the API key value if API key has any one of the following Tag(key-value pair) # allow access if API key has any one of Tag with corresponding values app: demo OR default:true This is…
-1
votes
2 answers

What is the relation between user, group, role, policy and AWS services?

A policy can be attached to a user or group. This controls what the users are able to do in AWS. Policy can be attached to an AWS service? What is the relation between policy and AWS service? And where does the concept of Role fit in all this?
variable
  • 8,262
  • 9
  • 95
  • 215
-1
votes
1 answer

Go sum type in json

What I want to achieve I'm parsing IAM Policies in Go. In IAM Policies, most of the fields can be either a string or an array of strings. It's hard to think these decision trees in my head what I want is kind of exhaustive pattern matching. What I…
Umut Gerçek
  • 630
  • 6
  • 9
1 2 3 4 5 6
7