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

Ability to rotate secret encryption keys used in apiserver #8702

Open
Tracked by #8484
ruifung opened this issue May 3, 2024 · 0 comments
Open
Tracked by #8484

Ability to rotate secret encryption keys used in apiserver #8702

ruifung opened this issue May 3, 2024 · 0 comments

Comments

@ruifung
Copy link

ruifung commented May 3, 2024

Feature Request

Description

While trying to implement the procedure as described at
https://kubernetes.io/docs/tasks/administer-cluster/encrypt-data/#rotating-a-decryption-key

(due to accidental publishing of a full machineconfig to a public github repository)

I was blocked by the inability to modify the encryptionconfig.yaml file to have the older keys in it to transition to a newly generated key.

This seems like something that would be nice to be supported in talosctl, or at least, the ability to add multiple encryption secrets to the machineconfig for the purposes of key rotation.

I've attempted the procedure manually by trying to specify a custom encryptionconfig file that has been inserted via files[], but apparently that argument is protected by talos and I am unable to override it.

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