Skip to main content

validate_vault_id

Function validate_vault_id 

Source
pub fn validate_vault_id(value: &str) -> Result<(), ValidationError>
Expand description

Validate a Cloud vault_id: 32 lowercase hex characters (128 random bits), the same form leanctx.cloud-metrics/v1 requires of vault.id. The engine API renders the vault UUID in simple form (no dashes) while the web API keeps hyphenated UUIDs.