cloudknot.aws.list_profiles¶
- cloudknot.aws.list_profiles()[source]¶
Return a list of available AWS profile names
Search the aws credentials file and the aws config file for profile names
- Returns
profile_names (namedtuple) – A named tuple with fields: profile_names, a list of AWS profiles in the aws config file and the aws shared credentials file; credentials_file, a path to the aws shared credentials file; and aws_config_file, a path to the aws config file