using System.Collections.Immutable;
namespace StellaOps.Cryptography.Kms;
///
/// Describes a logical KMS key and its versions.
///
public sealed record KmsKeyMetadata(
string KeyId,
string Algorithm,
KmsKeyState State,
DateTimeOffset CreatedAt,
ImmutableArray Versions);
///
/// Describes a specific key version.
///
public sealed record KmsKeyVersionMetadata(
string VersionId,
KmsKeyState State,
DateTimeOffset CreatedAt,
DateTimeOffset? DeactivatedAt,
string PublicKey,
string Curve);