boto3 access key and secret key from environment variable code example
Example: boto3 with aws profile
import boto3
session = boto3.Session(profile_name='dev')
dev_s3_client = session.client('s3')
import boto3
session = boto3.Session(profile_name='dev')
dev_s3_client = session.client('s3')