Connect to S3 With Permanent AWS Credentials
Last updated
Was this helpful?
When connecting to S3, by default, CapStorm applications will:
Read Permanent Credentials provided using the AWS Provider Chain
Use these credentials to request temporary session credentials via the AWS STS (Security Token Service).
Periodically refresh the temporary credentials for continued access.
This approach minimizes the use of permanent credentials by keeping them off the wire during ongoing operations.
In some environments — such as self hosted S3-compatible storage or situations where STS is unavailable — you may need to bypass temporary credential retrieval.
This article describes how to configure CapStorm applications to connect to S3 using permanent credentials directly.
To configure CopyStorm to use permanent AWS credentials when communicating with S3:
Create an XML file called CapStormAWSCredentialsProvider.xml
Place the XML file in the config directory of the CopyStorm base installation.
Note: If External Configuration is being used, this file can instead be placed in the designated External Configuration location.
An example CapStormAWSCredentialsProvider.xmldisabling temporary credentials is shown below:
<CapStormAWSCredentialProvider>
<EnableSessionToken value="false"/>
</CapStormAWSCredentialProvider>Last updated
Was this helpful?
Was this helpful?
