define_s3_client#
- define_s3_client()[source]#
Define Unistra’s S3 client
This function searches for S3 configuration in many places. It does apply configuration variables precedence, and you might have a use for it. Here is the order of precedence from least to greatest (the last listed configuration variables override all other variables):
AWS profile
AWS environment variable
Profile unistra is first read from X:/SI/Secrets/config and X:/SI/Secrets/credentials. If this file does not exist, it fallbacks to local file $USER/.aws/config and $USER/.aws/credentials.
You can use ready-to-use environements provided by the Sertit or asks for s3 credentials.