namespace Elsa.Secrets; public class SecretModel { public string Id { get; set; } = default!; /// /// The logical ID of the secret. All versions share this ID. /// public string SecretId { get; set; } = default!; public string Name { get; set; } = default!; /// /// An optional scope of the secret. Examples: "API Key", "ConnectionString", "JWT", "Password", "EncryptionKey", etc. /// public string? Scope { get; set; } = default!; /// /// The encrypted value of the secret using the encryption key referenced by . /// public string EncryptedValue { get; set; } = default!; /// /// An optional description of the secret. /// public string Description { get; set; } = ""; public TimeSpan? ExpiresIn { get; set; } public DateTimeOffset? ExpiresAt { get; set; } /// /// The version of the secret. Increments after each update or rotation. /// public int Version { get; set; } /// /// The status of the secret. /// public SecretStatus Status { get; set; } public DateTimeOffset? LastAccessedAt { get; set; } public DateTimeOffset CreatedAt { get; set; } public DateTimeOffset UpdatedAt { get; set; } public string? Owner { get; set; } }