Skip to content

Conversation

V02460
Copy link
Contributor

@V02460 V02460 commented Aug 8, 2025

Implements the secrets.keys_dir config option as an alternative to secrets.keys. Contains unit tests and documentation.

Currently managing MAS key material is intertwined with managing MAS configuration: it is not possible to provide signing keys to MAS without some prior knowledge of their content, filename or count. This PR resolves that limitation by introducing the secrets.keys_dir config option.

The secrets.keys_dir config option allows specifying a single directory that is expected to contain one file per MAS signingkey. The key files are read from the directory when a KeyStore is created via SecretsConfig::key_store().

Requires #4876 to derive a key’s kid.

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

Successfully merging this pull request may close these issues.

1 participant