Skip to main content

quote_credential_process_arg

Function quote_credential_process_arg 

Source
pub fn quote_credential_process_arg(path: &Path) -> String
Expand description

Quote a path for the credential_process directive in AWS config.

Uses INI-style escaping (\" and \\) rather than forward-slash normalisation. Use this for AWS ~/.aws/credentials or ~/.aws/config entries. For SSH config paths use quote_path_for_ssh_config instead. Quote a path specifically for the credential_process directive in AWS config.

This is identical to quote_config_value but takes a Path for convenience.