AWS Authenticator through Java

Hello, I need some help from the group
I’ve used a java code on the below link for a PoV… but Im end up with an error

Im getting “CONJ00018E Invalid or expired AWS headers: 403 Forbidden error”

Also, I noticed when I’m trying to use the aws authenticator policy from the below link

https://docs.conjur.org/Latest/en/Content/Operations/Services/AWS_IAM_Authenticator.htm#permission-to-authenticate-using-the-iam-authenticator

Im not able to perform the third& final step on the above link

The error I got is as below :

I’ve enabled authenticator and restarted the service … Any help would be much appreciated here!!
Thanks
Nirmal

I tried with this GitHub - AndrewCopeland/conjur-iam-api-key-java: Getting an api key used for authenticating using the IAM authenticator
and it’s working fine…

Thanks

Check if the DAP container is able to communicate to the internet. I also got the same error and later found that our DAP container doesn’t have the proxy set to reach the internet.

1 Like

@vivekrautela thank you for jumping in. @nimal did this address the problem?

@nimal you can also try the below command from DAP host machine to check the connectivity.

docker exec <container_name> curl “https://sts.amazonaws.com/?Action=GetCallerIdentity&Version=2011-06-15’”

1 Like