Class DeploymentSecretInfo
What is known about a deployment secret, without the secret.
public sealed class DeploymentSecretInfo
- Inheritance
-
DeploymentSecretInfo
- Inherited Members
Remarks
There is deliberately no value on this type, and there must never be one. It exists so that an operator can see which secrets a deployment has, how long they have been there, and whether anything required is missing — questions that can all be answered without the material itself. A field holding the value would put every key the shard depends on one serialization mistake away from a browser, and the panel has no use for it that would justify that.
Properties
CreatedUtc
When it was first written.
public DateTime CreatedUtc { get; set; }
Property Value
Key
The row key, such as totp_master_kek.
public string Key { get; set; }
Property Value
UpdatedUtc
When it last changed, which is when it was last rotated.
public DateTime UpdatedUtc { get; set; }
Property Value
ValueLength
How many characters the stored value has.
public int ValueLength { get; set; }
Property Value
Remarks
A length is not the secret. It is here because a truncated or empty key is a real failure mode with no other symptom until something tries to use it.