All Questions
Tagged with aws-java-sdk-2.x amazon-iam
5 questions
1
vote
2
answers
645
views
How to programmatically create IAM Roles Anywhere sessions with AWS SDK for Java V2 in a Spring Boot service
I'm working on a Spring Boot backend service where I need to access certain S3 buckets programmatically using IAM Roles Anywhere. I found the following documentation for RolesAnywhereClient in the AWS ...
1
vote
1
answer
2k
views
Unable to Access IAM AWS Service Endpoint in a private subnet using a Private Link of VPC Endpoint
We're trying to access AWS Services from a private subnet in a VPC using a VPC endpoint or Private Link. We're trying to avoid adding a NAT gateway on the private subnet.
We created/added a VPC ...
0
votes
1
answer
2k
views
How to find other AWS Users Canonical Id using Root User credentials
I am having AWS Root User credentials. I have created 5 users through https://console.aws.amazon.com/iam/home?region=us-east-1#/users -> Add User. Out of 5 (2 Programmatic User and 3 AWS Management ...
3
votes
1
answer
1k
views
How to generate AWS credential report for all accounts in an organization
I am looking to generate a AWS credential report for all the accounts under an organization. Is there any way to generate the consolidated report of accounts.
I know we can generate a credential ...
1
vote
1
answer
1k
views
java code to create aws client using ec2 role or default credentials chain?
Below code creates AWS Credentials where access and secret keys are explicitly supplied.
AWSCredentials credentials = new BasicAWSCredentials(
"<AWS accesskey>",
"<AWS secretkey>"
);
...