Skip to main content

discover_aws_profiles

Function discover_aws_profiles 

Source
pub async fn discover_aws_profiles() -> Result<Vec<AwsConfigEntry>, AppError>
Expand description

Discover AWS profiles from the real ~/.aws/credentials and ~/.aws/config.

Adds a synthetic env profile when AWS_ACCESS_KEY_ID is set in the environment (e.g. CI, container environments). The env profile has source: AwsConfigSource::Env and carries no persistent metadata.