Hello, I attached an IAM role directly to the EC2 instance. I understand that this approach is more secure than using an access key and manually configuring it for the S3 destination.
Is this possible?
Hello, I attached an IAM role directly to the EC2 instance. I understand that this approach is more secure than using an access key and manually configuring it for the S3 destination.
Is this possible?
Hi @Filipe_Santos, welcome to the forum ![]()
Do you run Duplicati inside the EC2 instance?
Maybe. The AWS SDK supports a large number of options, but first, lets figure out what you are configuring.
Hi @kenkendk
I’m trying to use an IAM role with a specific S3 bucket policy directly attached to an AWS EC2 instance. However, Duplicati requires an Access Key ID and Secret Access Key to connect.
When running from the command line, I can list my S3 bucket successfully using:
aws s3 ls "bucket-name"
This works without using aws configure because with AWS CLI v2, the EC2 instance can automatically retrieve credentials from the attached IAM role, without the need for static keys.
I try to leave it blank and stills says: both itens needed.