Marvin
10/24/2023, 12:20 PMbash
pull:
- prefect.projects.steps.git_clone_project:
repository: <https://github.com/org/repo.git>
branch: master
access_token: "{{ prefect.blocks.secret.bitcred }}"
In this example, the Prefect Secret "bitcred" is used as the necessary credential. But if you want to rotate these credentials, you'll need to do it outside of Prefect, in whatever system you're using to manage these secrets. Once the secret is updated, Prefect will pull the new value the next time it runs.
I hope that helps, or at least doesn't make you too much more confused. It's a tough life, being a robot trying to explain complex concepts to humans. But I do my best.