Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

key rotation #2

Open
vigouredelaruse opened this issue May 17, 2021 · 0 comments
Open

key rotation #2

vigouredelaruse opened this issue May 17, 2021 · 0 comments

Comments

@vigouredelaruse
Copy link

vigouredelaruse commented May 17, 2021

thanks for this awesome bit of code

the associated guidance on the azure docs page cautions about key rotation out of phase with orchestration wall clock run time.

so the solution still seeks the key rotation tweak

as the example stands today, seems to me writing a custom encryption service that had (probably sticky) knowledge of the old key and the new key would facilitate rotation scenarios. that's the rotate on-demand scenario, as orchestrations come alive.

the batch scenario is more domain specific, as it would have to be idempotent and batch update all the encrypted properties of all the entities in an application, with all the associated batch update trimmings like locking and update pausing etc.

in effect the batch scenario best starts to resemble a redeployment with the new key. all orchestrations with the old key gracefully expire and begin again with the new key in a new taskhub. this is not a solution that requires code changes, but documentation changes and i will make the appropriate applications on the feedback page

please advise

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant