-
Suggestion
-
Resolution: Fixed
-
None
Overview
Confluence 8.1 introduced support for storing attachment data in Amazon S3. Confluence makes use of the AWS SDK for Java 2.x for communicating with Amazon S3, as such it needs a means of authenticating with AWS. The SDK will search for credentials in your environment using a predefined sequence, namely:
- Java system properties
- Environment variables
- Web identity token from AWS Security Token Service
- The shared credentials and config files (~/.aws/credentials)
- Amazon ECS container credentials
- Amazon EC2 instance profile credentials
Limitation
If you using options 1,2 or 4 with temporary credentials to authenticate to AWS, then Confluence will need to be restarted every time these credentials are re-issued so that they can be appropriately picked up and used.
Workaround
Do not use options 1,2 or 4 with temporary credentials to authenticate with AWS. Preferably use option 6 (IAM roles for application access to S3). See the links below for more detail:
- is resolved by
-
CONFSERVER-82499 AWS S3: Bulk Attachment operations - "Unable to execute HTTP request: Timeout waiting for connection from pool"
- Closed