Doug Applegate
12/15/2025, 6:58 PMJordan Jones
12/15/2025, 9:09 PMfrom prefect_aws import AwsCredentials
AwsCredentials(
aws_access_key_id="PLACEHOLDER",
aws_secret_access_key="PLACEHOLDER",
aws_session_token=None, # replace this with token if necessary
region_name="us-east-2"
).save("BLOCK-NAME-PLACEHOLDER")
https://prefecthq.github.io/prefect-aws/