Use local secrets in prefect 2

Hello,

After moving from Prefect 1 to Prefect 2, one of the feature that I miss is the possibility to set local secrets via environment variables.

The only way I have found to manage secrets in a dev environment in prefect 2 is:

  • to create an entirely new workspace dedicated to dev
  • create secrets blocks.
  • Have everyone that needs these secrets to connect to the dev workspace.

However, it also means that I have to manually set every single new secret that my team may need to use; or let them manage existing secrets (which is not ideal security wise)

I was just wondering if there was a way to manage secrets locally with Prefect 2 that I may have missed ?

Thanks in advance

1 Like

You’re totally right, that’s still missing but it’s on the roadmap, you can track it here:

1 Like