Skip to main content

redact_user_provider_option

Function redact_user_provider_option 

Source
pub fn redact_user_provider_option(value: &str) -> String
Expand description

Redacts user-provider options except known file-based forms with nonempty paths.

Only static_user_provider:file:<path> and watch_file_user_provider:<path> are returned unchanged. Inline credentials, unknown providers and malformed options are replaced entirely with a placeholder.