Skip to main content

SecretInventorySummary

Namespace: Meshmakers.Octo.Runtime.Contracts.Secrets

Counts of all Secret slots of a tenant per storage form (ISecretInventoryService.SummarizeAsync(String, CancellationToken)).

public sealed class SecretInventorySummary

Inheritance Object → SecretInventorySummary

Properties​

Total​

All slots.

public int Total { get; private set; }

Property Value​

Int32

NotSet​

Slots in SecretStorageForm.NotSet.

public int NotSet { get; private set; }

Property Value​

Int32

Plaintext​

Slots in SecretStorageForm.Plaintext.

public int Plaintext { get; private set; }

Property Value​

Int32

EncV1​

Slots in SecretStorageForm.EncV1.

public int EncV1 { get; private set; }

Property Value​

Int32

EncV2​

Slots in SecretStorageForm.EncV2.

public int EncV2 { get; private set; }

Property Value​

Int32

KeyMissing​

Slots in SecretStorageForm.KeyMissing.

public int KeyMissing { get; private set; }

Property Value​

Int32

Corrupt​

Slots in SecretStorageForm.Corrupt.

public int Corrupt { get; private set; }

Property Value​

Int32

NeedsReEntry​

Slots that need re-entry (SecretInventoryItem.NeedsReEntry).

public int NeedsReEntry { get; private set; }

Property Value​

Int32

EncV2ByKeyId​

SecretStorageForm.EncV2 slots per key id.

public IReadOnlyDictionary<string, int> EncV2ByKeyId { get; }

Property Value​

IReadOnlyDictionary<String, Int32>

Constructors​

SecretInventorySummary()​

public SecretInventorySummary()

Methods​

Add(SecretInventoryItem)​

Counts one slot.

public void Add(SecretInventoryItem item)

Parameters​

item SecretInventoryItem