Skip to main content

discover_aws_profiles_sync

Function discover_aws_profiles_sync 

Source
fn discover_aws_profiles_sync() -> Vec<AwsConfigEntry>
Expand description

Discover AWS profiles from the real ~/.aws/* files synchronously.

ProfileStore::list() is called from sync contexts (Tauri commands wrapped in async fn but calling list() before any await point). We use the blocking variant here; callers in truly sync contexts tolerate the I/O.