session = Session()
credentials = session.get_credentials()
current_credentials = credentials.get_frozen_credentials()
print(current_credentials.access_key)
print(current_credentials.secret_key)
print(current_credentials.token)
Is there a way to get access_key and secret_key from boto3?