soham butala04/19/2023, 7:04 PM
Marvin04/19/2023, 7:05 PM
This block configuration can be used by anyone with appropriate access to your Prefect API (source). Keep in mind that sharing access credentials might not be the most secure way to share resources. It's always a good idea to follow best practices for security and access management when sharing resources between different accounts and workspaces.
python from prefect.filesystems import S3 block = S3( bucket_path="my-bucket/a-sub-directory", aws_access_key_id="foo", aws_secret_access_key="bar" ) block.save("example-block")