SecretPurpose
Namespace: Meshmakers.Octo.Runtime.Contracts.Secrets
What a value protected outside a Secret attribute is for, e.g. a sealed value of one execution of one tenant. It is authenticated together with the envelope header, so the value opens only for exactly this purpose and never as the value of a Secret attribute (and a Secret attribute value never opens for a purpose).
public struct SecretPurpose
Inheritance Object → ValueType → SecretPurpose
Implements IEquatable<SecretPurpose>
Properties
Value
Non-empty purpose text. Callers include everything the value is bound to (for example
queued-caller/<tenant>/<execution>); the text itself is not secret and is not stored.
public string Value { get; set; }
Property Value
Constructors
SecretPurpose(String)
What a value protected outside a Secret attribute is for, e.g. a sealed value of one execution of one tenant. It is authenticated together with the envelope header, so the value opens only for exactly this purpose and never as the value of a Secret attribute (and a Secret attribute value never opens for a purpose).
public SecretPurpose(string Value)
Parameters
Value String
Non-empty purpose text. Callers include everything the value is bound to (for example
queued-caller/<tenant>/<execution>); the text itself is not secret and is not stored.