SecretEnvironmentWarningCodes
Namespace: Meshmakers.Octo.Communication.Contracts.DataTransferObjects
Codes of SecretEnvironmentStatusDto.Warnings (AB#5534).
public static class SecretEnvironmentWarningCodes
Inheritance Object → SecretEnvironmentWarningCodes
Fields
NoKeyRing
No key ring is configured on the bot (SecretEnvironmentStatusDto.KeyRingConfigured is
false): secret writes fail, and a restore only classifies the restored secrets (key-free Verify)
and lists the ones to re-enter - nothing is encrypted until the key ring is set and Encrypt runs.
UIs show a prominent banner.
public static string NoKeyRing;
NoLegacyV1Key
The legacy enc:v1 key is not configured although the tenant's last secret sweep found
enc:v1 values (counted as key missing, key id enc:v1): they cannot be read or converted
until SecretEncryption:LegacyV1Key is configured.
public static string NoLegacyV1Key;
DumpKeyMissing
An encrypted dump needs a key id (SecretEnvironmentStatusDto.RequiredKeyIds) that is not
in the key ring (AB#5559): it can no longer be decrypted, i.e. neither restored nor downloaded. Put the
key back into SecretEncryption:Keys, or accept the loss until the dump expires.
public static string DumpKeyMissing;