Class KeyRotationSuccessNotification
- Namespace
- Excalibur.Compliance
- Assembly
- Excalibur.Compliance.Abstractions.dll
Represents a notification for successful key rotation.
public sealed record KeyRotationSuccessNotification : IEquatable<KeyRotationSuccessNotification>
- Inheritance
-
KeyRotationSuccessNotification
- Implements
- Inherited Members
Constructors
KeyRotationSuccessNotification(string, string, string?, string?, DateTimeOffset)
Represents a notification for successful key rotation.
public KeyRotationSuccessNotification(string KeyId, string Provider, string? OldKeyVersion, string? NewKeyVersion, DateTimeOffset RotatedAt)
Parameters
KeyIdstringThe identifier of the rotated key.
ProviderstringThe KMS provider name.
OldKeyVersionstringThe previous key version.
NewKeyVersionstringThe new key version.
RotatedAtDateTimeOffsetWhen the rotation completed.
Properties
KeyId
The identifier of the rotated key.
public string KeyId { get; init; }
Property Value
NewKeyVersion
The new key version.
public string? NewKeyVersion { get; init; }
Property Value
OldKeyVersion
The previous key version.
public string? OldKeyVersion { get; init; }
Property Value
Provider
The KMS provider name.
public string Provider { get; init; }
Property Value
RotatedAt
When the rotation completed.
public DateTimeOffset RotatedAt { get; init; }