Path: redb-identity/src/redb.Identity.Core/Configuration/MintingKeySource.cs
Snapshot: redb-identity, development snapshot 2026-12-06. This is the development state of the public mirrors; it may differ from the published packages.
License: Apache-2.0. Repository: https://github.com/redbase-app/redb-identity
Page: https://redbase.app/src/dev-2026-12-06/redb-identity/src/redb.Identity.Core/Configuration/MintingKeySource.cs
----
namespace redb.Identity.Core.Configuration;
///
/// Which key source signs and encrypts new tokens when both configured credentials
/// ( / )
/// and the props signing-key store () are present.
/// Both sources are trusted for validation and published in the JWKS either way; only the minting key differs.
///
public enum MintingKeySource
{
///
/// The configured credentials mint; the store's keys only validate. The state of a deployment moving its
/// keys to an HSM or a certificate: tokens signed by the store keep validating until they expire.
///
Configured,
///
/// The store's active key mints; the configured credentials only validate. The state of a deployment
/// moving off configured keys onto the store.
///
Store,
}