Skip to main content

SecretVariantValue

Type Alias SecretVariantValue 

Source
pub type SecretVariantValue = SecretValuePayload;
Expand description

The payload carried by SchemaValue::Secret.

Like quota tokens, secrets are opaque capabilities. On the host (and in feature-neutral builds) the value is a trusted snapshot that contains only stable identity and metadata; plaintext is never stored here. On a guest it is an opaque, affine, take-once owned handle.

Aliased Type§

pub struct SecretVariantValue {
    pub secret_id: Uuid,
    pub config_key: Option<Vec<String>>,
    pub version: u64,
    pub resolved_at: DateTime<Utc>,
    pub category: Option<String>,
}

Fields§

§secret_id: Uuid§config_key: Option<Vec<String>>§version: u64§resolved_at: DateTime<Utc>§category: Option<String>