Using duplicity and IAM roles on AWS instances
Asked by
hebbo
Hello,
this is a question aboutj using IAM roles to access S3 buckets with duply/duplicity.
I have tried to use duply/duplicity to restore/backup against an S3 bucket, using the AWS instance IAM role as authentication.
I guess the following error:
BackendException: Access Denied
09:01:26.174 Task 'RESTORE' failed with exit code '23'.
If I set TARGET_PASS and TARGET_USER to key/secret it works all right. I was wondering why duplicity/boto is not using the associated instance IAM role to authenticate on S3. Maybe an issue with duply?
(I tried setting TARGET_USER and TARGET_PASS to blank but the same error.
Thanks on advance.
$ duplicity --version
duplicity 0.7.04
$ duply --version
duply version 1.9.2
$ pip show boto
Name: boto
Version: 2.38.0
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu duplicity Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- hebbo
- Solved:
- Last query:
- Last reply:
To post a message you must log in.