Skip to content

Prefect 2 - How to use Secret block in local developing #6699

Answered by tonal
tonal asked this question in Q&A
Discussion options

You must be logged in to vote

Need save block before flow call. :)

def main():
  secret_block = Secret(value='my secret')
  secret_block.save('epool-mysql-dt', overwrite=True)
  drop_tags_flow()

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by tonal
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant