INNER CODE UNIT · Python
get_access_key
grycap/scar · scar/providers/aws/clients/__init__.py:43
def get_access_key(self) -> str:
"""Returns the access key belonging to the boto_profile used."""
session = boto3.Session(**self.session_args)
credentials = session.get_credentials()
return credentials.access_key