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
NotSet
Slots in SecretStorageForm.NotSet.
public int NotSet { get; private set; }
Property Value
Plaintext
Slots in SecretStorageForm.Plaintext.
public int Plaintext { get; private set; }
Property Value
EncV1
Slots in SecretStorageForm.EncV1.
public int EncV1 { get; private set; }
Property Value
EncV2
Slots in SecretStorageForm.EncV2.
public int EncV2 { get; private set; }
Property Value
KeyMissing
Slots in SecretStorageForm.KeyMissing.
public int KeyMissing { get; private set; }
Property Value
Corrupt
Slots in SecretStorageForm.Corrupt.
public int Corrupt { get; private set; }
Property Value
NeedsReEntry
Slots that need re-entry (SecretInventoryItem.NeedsReEntry).
public int NeedsReEntry { get; private set; }
Property Value
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