Questions tagged [amazon-iam]
AWS Identity and Access Management (IAM) is an access control service for Amazon Web Services. Tag questions about using the AWS CLI, writing JSON for IAM, and using IAM SDKs.
amazon-iam
5,629
questions
0
votes
0
answers
8
views
Is there a PHP MSK Client library that supports using IAM roles
trying to use php client to connect to a MSK kafka cluster setup to use IAM roles
All code I can find shows the need for a username and password in the SASL config, is there a way to use IAM role ...
0
votes
0
answers
23
views
AWS CLI V2 running but not displaying output in GIT BASH
I am using AWS CLI V2 in my Windows 11 and use GIT BASH as a terminal. I configured the AWS within the terminal but command "aws iam list-users" is running successfully but not showing the ...
-1
votes
0
answers
10
views
AWS JIT (just in time) Escalation Tool [closed]
My team is looking for a JIT AWS credential management tool and I'm not finding and good results on Goog.
Requirements:
Requests for elevated access are reviewable (and deniable) before access is ...
0
votes
0
answers
17
views
Configure AWS for assuming role with web identity in EC2
I'm trying to run this command from an EC2 instance:
aws sts assume-role-with-web-identity --role-arn "arn:aws:iam::123456789012:role/EC2-Role" --role-session-name "test-session" --...
0
votes
1
answer
18
views
When creating an IAM user in AWS how to find out the ARN of the user during creation?
Go to AWS IAM
Click - Users
Click - Create User
Username: db-user
Click - Next
Have to choose an option
Add user to group
Copy permissions
Attach policies directly
Select - Attach policies directly
...
0
votes
0
answers
27
views
remove target from service control policies using IAM policy
There is a requirement that I need to remove the QA account as a target from the management account service control policy, do some activity, and then attach the QA account back to the service control ...
0
votes
0
answers
14
views
Achieving additive permissions with IAM Identity Center in AWS
I'm trying to migrate users from IAM to IAM Identity Center. We use user groups on IAM heavily to do RBAC on our AWS account. When a user wants more permissions, we will create an IAM policy, create a ...
0
votes
0
answers
21
views
Confluent-Kafka: no broker available for coordinator query: intervaled in state query-coord
I am using python-confluent-kafka to create a producer.
The Kafka cluster is on MSK 3.7.x KRaft with IAM enabled and TLS enabled, both within the cluster and between clients and brokers.
Any ideas on ...
0
votes
1
answer
41
views
Access denied 403 Error while uploading to S3 bucket in production ECS Fargate (Working locally)
I am getting AccessDenied: Access Denied while upload files to my s3 bucket. But everything is working perfectly locally.
This is the error I am seeing in my cloudwatch
AccessDenied: Access Denied
api
...
0
votes
1
answer
12
views
RDS Permissions through IAM user
My RDS user lacks the permissions to create schema's. Is it possible to grant this user these permissions through an IAM policy instead of granting me these permissions via the Database administrator? ...
0
votes
0
answers
18
views
Serverless deployment to new stage fails with non existent IAM Policy error
I have a serverless definition, that is working, when deploying to existing stages:
service: appcode-graphql
frameworkVersion: "3"
variablesResolutionMode: 20210326
useDotenv: true
...
0
votes
0
answers
13
views
AWS Config Custom Rule to detect IAM MFA is not being triggered
I'm creating a custom Lambda AWS Config rule to detect when a user does not have MFA activated.
I'm setting up the rule trigger type to happen when configuration changes, within the scope of the "...
0
votes
1
answer
19
views
Can I grant access to another AWS account only through Identity and trust policy
I have an AWS account A from which I want to grant access to another AWS account B, I have created a role in my account A giving the identity access to my bucket in account A, here's the role identity ...
0
votes
0
answers
16
views
How can I connect aws instance running ssh on other port using aws ec2 connect
I need to connect aws instance using aws ec2 connect, but it is using port other than 22. While connecting to it, I'm getting access denied. Also is there any other way to recover pem?
I am getting ...
0
votes
1
answer
24
views
How can i connect my springboot micro service to an MSK with IAM authentiaction?
Im trying to connect my project with this configuration
@Bean
public KafkaAdmin kafkaAdmin() {
Map<String, Object> configs = new HashMap<>();
configs.put(...