Hi Team,

I was implementing Jclouds for AWS S3 blob, and we don't use access
key/secret key to connect S3 clients, we use EC2 role based login
(Instance Login).

But while creating Blob context for `aws-s3`, it's asking for
mandatory credentials. Is there a way to not provide the below
.credentials and the context pulls via Instance Profile Credentials.

BlobStoreContext blobContext = ContextBuilder
        .newBuilder("aws-s3")
       -->  .credentials(ACCESS_KEY,SECRET_KEY)
        .buildView(BlobStoreContext.class);


Thanks & Regards,
Abhinav Pradhan

-- 


This communication is confidential and
subject to and governed by Saama’s 
Electronic
Communications Disclaimer. 
<https://www.saama.com/email-communication-disclaimer/>



 

Reply via email to