https://prefect.io logo
h

Hedgar

10/03/2022, 12:48 PM
Hey I created a secret block on prefect cloud ui,
secret-block = Secret.load(“api-key”)
I want to use this block in the body of my flow how can I go about this? Should I just pass
secret-block
? Do I need to use the get method anywhere?
1
j

Jeff Hale

10/03/2022, 12:51 PM
Secret blocks can be loaded as shown here in the docs.