Function aws_config::default_provider::use_fips::use_fips_provider

source ·
pub async fn use_fips_provider(provider_config: &ProviderConfig) -> Option<bool>
Expand description

Load the value for “use FIPS”

This checks the following sources:

  1. The environment variable AWS_USE_FIPS_ENDPOINT=true/false
  2. The profile key use_fips_endpoint=true/false

If invalid values are found, the provider will return None and an error will be logged.