Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
46 views

I want an IAM policy that allows an EC2 instance to modify it's own name tag. It should not have permission to modify the tags of any other instance. It is my understanding that this should work. ...
Free Mind's user avatar
0 votes
1 answer
48 views

I have around 150 roles in my AWS Account. I have created a new S3 bucket under existing bucket Primary-Bucket/New-Bucket I wanted to restrict access to New-Bucket for all other roles except couple of ...
Jim Macaulay's user avatar
  • 5,251
0 votes
1 answer
54 views

Hello: I'm managing an AWS account for students to practice AWS's resources management. Each student has it's own IAM user with PowerUserAccess permissions (TL;DR: Allows anything except users and ...
Alvaro Pedraza's user avatar
1 vote
1 answer
348 views

So, something weird is happening which I can't seem to wrap my head around. I have a lambda function, whose execution role has the AWS Managed AWSLambdaVPCAccessExecutionRole in it. This role has ec2:...
Prasanjeet Mohanty's user avatar
0 votes
2 answers
99 views

We've been modifying our IAM policies for the rest of the team. They should only be allowed to do most things if MFA is active for their session. Even when they have an MFA session, they cannot access ...
Vincent Verbist's user avatar
0 votes
1 answer
247 views

I was reading some documentations, but could not find a way to see them. I was trying to use Cloudtrail, but it seems like it only shows an event record for the api call performed. { "...
user3463521's user avatar
0 votes
1 answer
74 views

Iam trying to write an IAM policy to restrict user on deleting branch/repo using below.But could see delete operation of branch is executed using command git push origin --delete test-delete-branch . ...
Venkatesh Gorige's user avatar
0 votes
1 answer
95 views

Is it in any way possible to restrict AWS KMS signing operation with a EC private key to a particular AWS Nitro Enclave? That is, make is such that only the enclave with a given PCR hash is capable/...
Nikita Kalinichenko's user avatar
1 vote
1 answer
52 views

{ Effect = "Allow", Action = [ "s3:*", ], Resource = "arn:aws:s3:::lab-etl-s3", } I am creating a S3 bucket and a login user with terraform and aws. ...
Sujith_Fraidy's user avatar
0 votes
2 answers
326 views

This question is somewhat connected to the discussion found here: How can I use the AWS CLI to add a trust policy to a role? Previously, I encountered a problem adding a policy via the AWS CLI. It was ...
Minto Mohan's user avatar
0 votes
1 answer
959 views

I am attempting to update the trust policy for a role to include a user. I have successfully achieved this using the AWS Management Console. However, when attempting to do the same using the AWS CLI, ...
Minto Mohan's user avatar
1 vote
0 answers
832 views

I am new to AWS but I plan to access LLMs on Bedrock via AWS API. I already made the root user and an IAM user. I am struggling with what rights should I assign to the IAM user to be able to make API ...
Niko Suominen's user avatar
3 votes
2 answers
235 views

I have a S3 java client which I want to run. But I get error during startup: Caused by: com.amazonaws.services.securitytoken.model.AWSSecurityTokenServiceException: User: arn:aws:iam::123456789:user/...
Peter Penzov's user avatar
  • 1,074
1 vote
1 answer
686 views

SO I am new to AWS Lambda, so bear with me. I am working on a personal project to convert .mov files in to .mp4 files. I was able to find an already built application that did this, s3-lambda-ffmpeg-...
Danny Freeman's user avatar
0 votes
1 answer
175 views

I'm trying to create a policy granting read-only access to one python package on CodeArtifact. This is what I've got so far, but it seems to be granting access to all packages in the repository (and ...
lgpasquale's user avatar
-1 votes
1 answer
51 views

I have the following Json Code { "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Action&...
sai's user avatar
  • 111
0 votes
1 answer
70 views

The following IAM enforcement policy is attached with the AWS IAM role that I assume as an SSO user. When I use AWS CLI, I can create the Security group. But when I try to create this security group ...
Rafiq's user avatar
  • 1,710
1 vote
2 answers
2k views

I'm trying to invoke Entity Resolution APIs IAM User Details: IAM User: user1 Policy Name: AssumeRolePolicy I generated Access key and secret for user1 and using those in my spring boot application. ...
Sarangan's user avatar
  • 1,146
0 votes
1 answer
454 views

I'm creating an AWS IAM role with the following terraform block. This enables AmazonECSTaskExecutionRolePolicy permission. resource "aws_iam_role" "my_ecs_task_execution_role" { ...
Sudharsan Aravind's user avatar
0 votes
1 answer
175 views

I am trying fetch IAM role in aws lambda function, like const iamClient = new IAMClient({ region: "us-west-2" }); const role = await iamClient.getRole({ RoleName: ...
Mangesh Tak's user avatar
1 vote
1 answer
1k views

Referring to the doc https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.IAMDBAuth.Connecting.AWSCLI.html, below command can be used to generate auth token for a user and use it to ...
Visa2Learn's user avatar
0 votes
0 answers
50 views

How can I create AWS SCP conditions which restrict the scope of the policy only to AzureAD users which are members of AD group associated with a specific PermissionSet? For example, let's assume I ...
wizard's user avatar
  • 1,572
8 votes
2 answers
11k views

So I created a lambda function for a script that essentially that allows a user to pass a query to amazon titan LLM on Amazon bedrock. Here is the content of my main.py file in my deployment package. ...
Mustapha Unubi Momoh's user avatar
0 votes
0 answers
293 views

I have a task to refactor current usual IAM module to IAM module with option to send 1 or more policy as input from Terragrunt. I am trying to use latest resources from aws: https://registry.terraform....
Oleksadr S's user avatar
0 votes
0 answers
71 views

I wanted to try a new approach to configuring and enforcing some actions from my AWS IAM users in which they are denied access to certain actions on console unless they have performed a specific ...
Szzaass's user avatar
  • 1,342