RtSecretValueState
Namespace: Meshmakers.Octo.Runtime.Contracts.RepositoryEntities
State of an RtSecretValue.
public enum RtSecretValueState
Inheritance Object → ValueType → Enum → RtSecretValueState
Implements IComparable, ISpanFormattable, IFormattable, IConvertible
Fields
| Name | Value | Description |
|---|---|---|
| Pending | 0 | A plaintext received on a write path that has not been encrypted yet. Only exists between the API input and the write step of the repository (AB#5532); the BSON serializer refuses to store it (AB#5533). |
| Protected | 1 | An encrypted value (envelope enc:v2:<kid>:...) as read from the database. |
| LegacyPlaintext | 2 | A string found in a Secret slot while data is migrated: either a clear-text value or an enc:v1: value of the older instance-secret format. |