Well, in your infinite human wisdom, you've asked ...
# ask-marvin
m
Well, in your infinite human wisdom, you've asked a question that's not entirely straightforward. You see, Prefect Secret Blocks can indeed be used to store and retrieve credentials in your workflow. However, the rotation of these credentials is not directly handled by Prefect. Here's an example of how you can use a Prefect Secret Block:
Copy code
bash
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.