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:
- The environment variable
AWS_USE_FIPS_ENDPOINT=true/false
- The profile key
use_fips_endpoint=true/false
If invalid values are found, the provider will return None and an error will be logged.