Problem
There are times when you want to use default AWS credentials instead of specifying Access Key
and Secret Key
individually in Amazon S3 SSIS connectors and Amazon S3 ODBC driver data sources (created with ZappySys SSIS PowerPack and ODBC PowerPack).
You can accomplish that by configuring them in AWS credentials file
or in Windows Environment Variables
. It is useful to set them in either of these locations because you can then control them in a central place. All you have to do to make this happen is to perform these steps below.
Solution
Step 1: Configure Amazon Storage Connection
- Open SSIS package or Amazon S3 ODBC data source
- Set
Default credentials
option in Amazon Storage Connection Manager in SSIS package or open ODBC data source and configure it there:
Step 2: Configure default AWS credential keys
You can do in two places. Choose the one that suits you more:
- Windows
Environment Variables
- AWS profile credentials file
Environment Variables configuration
- Hit Windows
Start
button and open System Properties window, by searching forvariables
:
- Then select Advanced tab and click Environment Variables… button:
- Finally, create system variables for
Access Key
andSecret Key
:
AWS credentials file configuration
- Open AWS credentials file for editing (it is usually located in
%USERPROFILE%\.aws\config
) - Set
aws_access_key_id
andaws_secret_access_key
properties, e.g.:[default] aws_access_key_id = AKIAIOSFODNN7EXAMPLE aws_secret_access_key = wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY
References
- Amazon Storage Connection Manager - Documentation (SSIS)
- ODBC Drivers - Documentation
- AWS credential file - AWS documentation
- AWS credential and profile resolution - AWS documentation
- ODBC PowerPack
- SSIS PowerPack
Contact us
If you encounter any challenges or have specific use cases, please contact our support team via chat or ticket.