Skip to content

ETCD encryption configuration #10899

@oliverbaehler

Description

@oliverbaehler

Feature Request

Hi, I was playing around with etcd encryption and Talos, or rather trying to embed a kmsv2 provider to encrypt all secrets and configmaps at REST. However i have noticed, that currently it's only possible to pass one key to the template here: https://github.com/siderolabs/talos/blob/main/internal/app/machined/pkg/controllers/k8s/templates/kube-system-encryption-config-template.yaml

If I understood correctly, it's also not possible to overwrite that file. This causes some problems with ETCD encryptions:

  • no other resources than secrets can be encrypted
  • key rotation is not possible
  • other kms than static keys on the controlplanes are not possible.

I was wondering if we could improve this by either:

  • Being able to supply a custom-path to a user-defined encryption-configuration
  • Having the Encryption-Config inline as with the AuditPolicy

Wondering what your thoughts are about this. I can probably contribute the feature, if we agree on an implementation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions