You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Looking for an example for using role-based access to S3 files. I have the role defined and would be using it from java spring boot service running in K8S.
Not sure which CredentialProvider to use, STSAssumeRoleCredentialsProvider? Also not sure how to create the initial StsClient? Is InstanceProfileCredentialProvider the right one to use? I'
Looking for an example for using role-based access to S3 files. I have the role defined and would be using it from java spring boot service running in K8S.
Expected Behavior
Would like code example like https://github.com/isuftin/s3-access-example/blob/master/src/main/java/gov/usgs/cida/aws/AwsS3AccessUtil.java only using the AWS SDK V2.
Current Behavior
Not sure which CredentialProvider to use, STSAssumeRoleCredentialsProvider? Also not sure how to create the initial StsClient? Is InstanceProfileCredentialProvider the right one to use? I'
Latest attempt is returning 403's.
We also have a podAnnotation in our helm charts (used by K8S)
Your Environment
SDK2, Java 11, compiling on Linux based Jenkins, deploying to AWS K8S environment (EKS)
The text was updated successfully, but these errors were encountered: