def set_credentials()

in awscli_keyring/persistence.py [0:0]


def set_credentials(profile, key, secret):
    keyring.set_password("awscli:key", profile, key)
    keyring.set_password("awscli:secret", profile, secret)