info
Base adapter class.
#
StorageAdapterA storage adapter abstract base class.
#
fetch_credential@abstractmethodfetch_credential(credential=None, profile=None)
Fetch credential from store.
Arguments:
credential
str - Credential to fetch.profile
str - Credentials profile. Defaults to 'default'.
#
init_store@abstractmethodinit_store()
Initialize credentials store.
#
remove_profile@abstractmethodremove_profile(profile=None)
Remove profile from store.
Arguments:
profile
str - Credentials profile to remove.
#
write_credentials@abstractmethodwrite_credentials(credentials=None, profile=None, cache_token=None)
Write credentials.
info
Write credentials to store.
Arguments:
cache_token
bool - IfTrue
, storesaccess_token
in token store. Defaults toTrue
.credentials
class - Read-only credentials.profile
str - Credentials profile. Defaults to 'default'.