Hi,

Thank you, though, instead of using a user's key on an EC2 instance, I
was wondering about if there is a way to use the EC2 instance role's
credentials, such as described here:

  
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/iam-roles-for-amazon-ec2.html#instance-metadata-security-credentials

Thanks,
  Braden


On Wed, Feb 05, 2020 at 10:22:00AM +1100, Esteban Fonseca wrote:
> Hi,
> 
> Yes, you create a user, then give the user access to S3 (In my
> case AmazonS3FullAccess), then on the user, go to Security Credentials,
> create a key, and with that key you can setup an auth file like this:
> 
> /etc/s3ql_authinfo
> [s3]
> storage-url: s3://
> backend-login: [KEY_NAME]
> backend-password: [KEY_PASSWORD]
> 
> which then you can use like this:
> 
> /usr/local/bin/mount.s3ql --authfile /etc/s3ql_authinfo
> s3://zone/bucket-name /mountpoint
> 
> 
> 
> On Wed, Feb 5, 2020 at 9:26 AM Braden Pellett (GP SCD DIGI ENG) <
> [email protected]> wrote:
> 
> > Hi,
> >
> > Sorry if this is covered somewhere and I missed it, but if one is running
> > s3ql on an EC2 instance, is there a way to use that EC2 instance's role for
> > authentication?
> >
> > Thanks,
> >   Braden
> >
> > --
> > You received this message because you are subscribed to the Google Groups
> > "s3ql" group.
> > To unsubscribe from this group and stop receiving emails from it, send an
> > email to [email protected].
> > To view this discussion on the web visit
> > https://groups.google.com/d/msgid/s3ql/20200204222620.evm53eyoyfwil7vj%40bradenhp.localdomain
> > .
> >

-- 
You received this message because you are subscribed to the Google Groups 
"s3ql" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/s3ql/20200204233801.soy7jfviqqndbctq%40bradenhp.localdomain.

Reply via email to