Skip to main content

All Questions

Tagged with
0 votes
1 answer
37 views

Access Key not being accepted after creation

import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import software.amazon.awssdk.auth.credentials.AwsBasicCredentials; import software.amazon.awssdk.auth.credentials....
Zan X's user avatar
  • 3
0 votes
2 answers
117 views

Connection to aws s3 client using roleArn giving error

I am trying to connect to my aws s3 client using roleArn instead of static secretKey and accessKey for the roleArn i created Trust relationships: { "Version": "2012-10-17", "...
Karol Katanowski's user avatar
0 votes
1 answer
895 views

Using aws-advanced-jdbc-wrapper to make a secure SSL and IAM based connection to Aurora Postgres

I recently discovered that aws-advanced-jdbc-wrapper is a great library to handle RDS IAM based authentication, since it will refresh the token dynamically for me, so I follow the tutorial in this ...
Caio Fernandes's user avatar
0 votes
0 answers
480 views

Accessing AWS RDS using IAM Authentication with Spring DataSource

My Query is very similar to this slack post - Accessing AWS RDS using IAM Authentication and Spring JDBC (DataSource and JdbcTemplate) I tried the following: Add the following dependencies: ...
simreen sadiq's user avatar
0 votes
0 answers
43 views

I am having issues accessing a an object in a bucket using S3 pre-signed URL. Can someone help on this?

I have a ECS fargate service which have a lambda role. I am granting that role permissions in to getObject, read and write objects in s3 bucket in the same AWS account. When I run the test from my ...
Suleman khan's user avatar
1 vote
1 answer
53 views

AWS Neptune Cluster connection is successful when signing the request using access key for a non -IAM cluster endpoint

Cluster.Builder builder = Cluster.build(); builder.addContactPoint(clusterEndpoint); builder.port(portValue); builder.enableSsl(true); builder.handshakeInterceptor(r -> { try { ...
dishabehrani77's user avatar
1 vote
1 answer
119 views

How to get Aws neptune cluster details using Management API for Non IAM cluster instance?

I have a non IAM neptune cluster configured , I am using Management API to fetch the cluster details i want to know if the instance is IAM enabled or disabled. I am using below code to get amazon ...
dishabehrani77's user avatar
2 votes
0 answers
335 views

Quarkus Java application assuming node group IAM role instead of the specified pod one

I'm trying to deploy a Quarkus application (JDK21, Quarkus 3.6.7) inside a pod in an EKS cluster that interacts with SQS queue. The CICD pipeline we're using injects the correct environment variables ...
framilano's user avatar
  • 101
1 vote
0 answers
828 views

Generate new IAM password for new HikariCP connections

I have a Spring Boot (2.3.5.RELEASE) with Spring Cloud (Hoxton.RELEASE) project that I am trying to set up my DataSource for. I am able to get my Hikari Connection Pool set up, but I use IAM tokens ...
Ebad's user avatar
  • 378
0 votes
1 answer
809 views

Error making a request in STS to get Session Token

I am trying to make a request on the STS API from Amazon AWS with the following code: ` public class getSTS { public static void main(String[] args) throws Exception { String awsAccessKey = "&...
Xtreme's user avatar
  • 1
3 votes
2 answers
7k views

AWS OpenSearch Service. Request failed: [security_exception] authentication/authorization failure

I'm trying to use OpenSearch to connect to my OpenSearch domain on AWS. I set env for AWS. However, I'm encountering an authentication/authorization failure. Here's my code: public class Example { ...
Taras Vovk's user avatar
1 vote
1 answer
835 views

How to access CodeArtifact cross-account when CDK is bundling Java lambda function?

I currently have 2 AWS accounts and Account A holds a CodeArtifact repository that contains a commons package that has shared code between my functions. Account B has my functions. I am using the CDK ...
Alexiz Hernandez's user avatar
1 vote
0 answers
218 views

"Signature not yet current" in AWS signature 4 - WSO2 class mediator

I am currently trying to list all users using AWS IAM api and facing some difficulties. When after invoking the API through the WSO2 micro integrator it shows following error, XML Response from AWS I ...
Sachitha SA's user avatar
1 vote
0 answers
2k views

IamException: Invalid STS API version 2010-05-08, expecting 2011-06-15

I am working with Minio via Aws API and I've encountered the following error: java.lang.RuntimeException: java.util.concurrent.ExecutionException: software.amazon.awssdk.services.iam.model....
gstackoverflow's user avatar
0 votes
1 answer
628 views

AWS Simulate principal policy Showing incorrect results

Iam trying to run simulateprincipalpolicy through java SDK and getting incorrect results. I have policy something like this and attached this policy to role 'Myrole': { "Version": "...
Susheel Harsoor's user avatar

15 30 50 per page
1
2 3 4 5 6