Answers for "create boto3 s3 client with credentials"

0

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
)
Posted by: Guest on February-25-2022

Python Answers by Framework

Browse Popular Code Answers by Language