Class SopsMetadata
- Namespace
- Nops.Core
- Assembly
- Nops.Core.dll
SOPS metadata extracted from the .sops top-level key in YAML/JSON files. Fields map directly to the .sops dict keys (case-exact).
public sealed record SopsMetadata : IEquatable<SopsMetadata>
- Inheritance
-
SopsMetadata
- Implements
- Inherited Members
Constructors
SopsMetadata(string?, IReadOnlyList<AgeEntry>, IReadOnlyList<PgpEntry>, IReadOnlyList<object>, IReadOnlyList<object>, IReadOnlyList<object>, IReadOnlyList<object>, IReadOnlyList<object>, int, string?, string?, string?, string?, string?, string?, bool, string?, DateTimeOffset?, IReadOnlyList<KeyGroup>?)
SOPS metadata extracted from the .sops top-level key in YAML/JSON files. Fields map directly to the .sops dict keys (case-exact).
public SopsMetadata(string? Mac, IReadOnlyList<AgeEntry> Age, IReadOnlyList<PgpEntry> Pgp, IReadOnlyList<object> Kms, IReadOnlyList<object> GcpKms, IReadOnlyList<object> AzureKv, IReadOnlyList<object> Hckms, IReadOnlyList<object> HcVault, int ShamirThreshold, string? UnencryptedSuffix, string? EncryptedSuffix, string? UnencryptedRegex, string? EncryptedRegex, string? UnencryptedCommentRegex, string? EncryptedCommentRegex, bool MacOnlyEncrypted, string? Version, DateTimeOffset? LastModified, IReadOnlyList<KeyGroup>? KeyGroups = null)
Parameters
MacstringAgeIReadOnlyList<AgeEntry>PgpIReadOnlyList<PgpEntry>KmsIReadOnlyList<object>GcpKmsIReadOnlyList<object>AzureKvIReadOnlyList<object>HckmsIReadOnlyList<object>HcVaultIReadOnlyList<object>ShamirThresholdintUnencryptedSuffixstringEncryptedSuffixstringUnencryptedRegexstringEncryptedRegexstringUnencryptedCommentRegexstringEncryptedCommentRegexstringMacOnlyEncryptedboolVersionstringLastModifiedDateTimeOffset?KeyGroupsIReadOnlyList<KeyGroup>
Properties
Age
public IReadOnlyList<AgeEntry> Age { get; init; }
Property Value
AzureKv
public IReadOnlyList<object> AzureKv { get; init; }
Property Value
EncryptedCommentRegex
public string? EncryptedCommentRegex { get; init; }
Property Value
EncryptedRegex
public string? EncryptedRegex { get; init; }
Property Value
EncryptedSuffix
public string? EncryptedSuffix { get; init; }
Property Value
GcpKms
public IReadOnlyList<object> GcpKms { get; init; }
Property Value
HcVault
public IReadOnlyList<object> HcVault { get; init; }
Property Value
Hckms
public IReadOnlyList<object> Hckms { get; init; }
Property Value
KeyGroups
public IReadOnlyList<KeyGroup>? KeyGroups { get; init; }
Property Value
Kms
public IReadOnlyList<object> Kms { get; init; }
Property Value
LastModified
public DateTimeOffset? LastModified { get; init; }
Property Value
Mac
public string? Mac { get; init; }
Property Value
MacOnlyEncrypted
public bool MacOnlyEncrypted { get; init; }
Property Value
Pgp
public IReadOnlyList<PgpEntry> Pgp { get; init; }
Property Value
ShamirThreshold
public int ShamirThreshold { get; init; }
Property Value
UnencryptedCommentRegex
public string? UnencryptedCommentRegex { get; init; }
Property Value
UnencryptedRegex
public string? UnencryptedRegex { get; init; }
Property Value
UnencryptedSuffix
public string? UnencryptedSuffix { get; init; }
Property Value
Version
public string? Version { get; init; }