IAM role access to s3 instead of access key #608
Answered
by
jhuckaby
jeffalgarne
asked this question in
Q&A
-
We are planning to use IAM role instead of access key to access our s3 bucket can cronicle config support this one? |
Beta Was this translation helpful? Give feedback.
Answered by
jhuckaby
May 23, 2023
Replies: 2 comments 2 replies
-
Did you mean managing user permission in IAM? |
Beta Was this translation helpful? Give feedback.
1 reply
-
We use this method at my day job. Your EC2 instances will automatically self-authenticate via the AWS SDK. Just omit all the AWS credentials from your configuration file, and it will default to using EC2 (IAM) auth. "Storage": {
"engine": "S3",
"list_page_size": 50,
"concurrency": 4,
"log_event_types": { "get": 1, "put": 1, "head": 1, "delete": 1, "expire_set": 1 },
"AWS": {
"region": "us-west-1",
"maxAttempts": 50,
"connectTimeout": 5000,
"socketTimeout": 5000
},
"S3": {
"keyPrefix": "",
"fileExtensions": true,
"params": {
"Bucket": "YOUR-S3-BUCKET-NAME-HERE"
}
}
}, |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
jeffalgarne
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We use this method at my day job. Your EC2 instances will automatically self-authenticate via the AWS SDK. Just omit all the AWS credentials from your configuration file, and it will default to using EC2 (IAM) auth.