Class MasterKeyImportResult
- Namespace
- Excalibur.Compliance
- Assembly
- Excalibur.Compliance.Abstractions.dll
Result of importing a master key backup.
public sealed record MasterKeyImportResult : IEquatable<MasterKeyImportResult>
- Inheritance
-
MasterKeyImportResult
- Implements
- Inherited Members
Properties
ErrorMessage
Gets the error message if the import failed.
public string? ErrorMessage { get; init; }
Property Value
ImportedAt
Gets the timestamp when the import was completed.
public required DateTimeOffset ImportedAt { get; init; }
Property Value
KeyId
Gets the identifier of the imported key.
public required string KeyId { get; init; }
Property Value
KeyMetadata
Gets the metadata of the imported key.
public KeyMetadata? KeyMetadata { get; init; }
Property Value
KeyVersion
Gets the version of the imported key.
public required int KeyVersion { get; init; }
Property Value
Success
Gets a value indicating whether the import was successful.
public required bool Success { get; init; }
Property Value
Warnings
Gets any warnings generated during import.
public IReadOnlyList<string>? Warnings { get; init; }
Property Value
WasOverwritten
Gets a value indicating whether an existing key was overwritten.
public bool WasOverwritten { get; init; }