soham butala
04/19/2023, 7:04 PMMarvin
04/19/2023, 7:05 PMpython
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")
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.Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.
Powered by