Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

create boto3 s3 client with credentials

import boto3

client = boto3.client(
    's3',
    aws_access_key_id=ACCESS_KEY,
    aws_secret_access_key=SECRET_KEY,
    aws_session_token=SESSION_TOKEN  # Optional
)
 
PREVIOUS NEXT
Tagged: #create #client #credentials
ADD COMMENT
Topic
Name
4+2 =