In Prefect 2, secrets are handled differently than in Prefect 1. Instead of using
prefect.client.Secret
, you'll be working with Blocks. Blocks provide the storage of configuration and interfaces to external systems, and each block document is encrypted by keys unique to each workspace. You can find more information about Blocks in Prefect 2 in the Prefect documentation.
I hope that clears up the mystery. Secrets, secrets are no fun unless you share with everyone... or at least with the right people.
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.