Table of Contents

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

Mac string
Age IReadOnlyList<AgeEntry>
Pgp IReadOnlyList<PgpEntry>
Kms IReadOnlyList<object>
GcpKms IReadOnlyList<object>
AzureKv IReadOnlyList<object>
Hckms IReadOnlyList<object>
HcVault IReadOnlyList<object>
ShamirThreshold int
UnencryptedSuffix string
EncryptedSuffix string
UnencryptedRegex string
EncryptedRegex string
UnencryptedCommentRegex string
EncryptedCommentRegex string
MacOnlyEncrypted bool
Version string
LastModified DateTimeOffset?
KeyGroups IReadOnlyList<KeyGroup>

Properties

Age

public IReadOnlyList<AgeEntry> Age { get; init; }

Property Value

IReadOnlyList<AgeEntry>

AzureKv

public IReadOnlyList<object> AzureKv { get; init; }

Property Value

IReadOnlyList<object>

EncryptedCommentRegex

public string? EncryptedCommentRegex { get; init; }

Property Value

string

EncryptedRegex

public string? EncryptedRegex { get; init; }

Property Value

string

EncryptedSuffix

public string? EncryptedSuffix { get; init; }

Property Value

string

GcpKms

public IReadOnlyList<object> GcpKms { get; init; }

Property Value

IReadOnlyList<object>

HcVault

public IReadOnlyList<object> HcVault { get; init; }

Property Value

IReadOnlyList<object>

Hckms

public IReadOnlyList<object> Hckms { get; init; }

Property Value

IReadOnlyList<object>

KeyGroups

public IReadOnlyList<KeyGroup>? KeyGroups { get; init; }

Property Value

IReadOnlyList<KeyGroup>

Kms

public IReadOnlyList<object> Kms { get; init; }

Property Value

IReadOnlyList<object>

LastModified

public DateTimeOffset? LastModified { get; init; }

Property Value

DateTimeOffset?

Mac

public string? Mac { get; init; }

Property Value

string

MacOnlyEncrypted

public bool MacOnlyEncrypted { get; init; }

Property Value

bool

Pgp

public IReadOnlyList<PgpEntry> Pgp { get; init; }

Property Value

IReadOnlyList<PgpEntry>

ShamirThreshold

public int ShamirThreshold { get; init; }

Property Value

int

UnencryptedCommentRegex

public string? UnencryptedCommentRegex { get; init; }

Property Value

string

UnencryptedRegex

public string? UnencryptedRegex { get; init; }

Property Value

string

UnencryptedSuffix

public string? UnencryptedSuffix { get; init; }

Property Value

string

Version

public string? Version { get; init; }

Property Value

string