Does anyone have suggestions for how to manage/maintain a whole bunch (~200) of Secret Blocks on Cloud? It's not clear to me that there's a way to delete them programmatically, and I also am generally hesitant to clutter my Block catalog with all these secrets. There is some structure to the values (they're API keys) and they'd fit into a dictionary, but my understanding is that a JSON block wouldn't remain secret. Is there a more elegant solution other than loading them individually or creating and registering a dictionary-of-secret-values block?
n
Nate
07/24/2023, 4:13 PM
It's not clear to me that there's a way to delete them programmatically
Copy code
from prefect.blocks.system import Secret
Secret.delete("your-secret")
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.