in awscli_keyring/persistence.py [0:0]
def get_credentials(profile): key = keyring.get_password("awscli:key", profile) secret = keyring.get_password("awscli:secret", profile) return (key, secret)