# Get Profile Names
Get profile names
# get_profile_names
# Parameters
config
- adict
of awsume's configurationarguments
- anargparse.Namespace
object containing awsume's arguments
# Returns
- A
list
of profiles names in the following format:
[
'profile-name1',
'profile-name2',
'...',
]
# Example
import argparse
from awsume.awsumepy import hookimpl
@hookimpl
def get_profile_names(config: dict, arguments: argparse.Namespace):
return [
'profile1',
'profile2',
'profile3',
]