1.15.4.dev2+g3e3ce2426

flytekit.clients.auth.keyring

Directory

Classes

Class Description
Credentials Stores the credentials together.
KeyringStore Methods to access Keyring Store.

Errors

flytekit.clients.auth.keyring.Credentials

Stores the credentials together

def Credentials(
    access_token: str,
    refresh_token: typing.Optional[str],
    for_endpoint: str,
    expires_in: typing.Optional[int],
    id_token: typing.Optional[str],
):
Parameter Type
access_token str
refresh_token typing.Optional[str]
for_endpoint str
expires_in typing.Optional[int]
id_token typing.Optional[str]

flytekit.clients.auth.keyring.KeyringStore

Methods to access Keyring Store.

Methods

Method Description
delete() None
retrieve() None
store() None

delete()

def delete(
    for_endpoint: str,
):
Parameter Type
for_endpoint str

retrieve()

def retrieve(
    for_endpoint: str,
):
Parameter Type
for_endpoint str

store()

def store(
    credentials: flytekit.clients.auth.keyring.Credentials,
):
Parameter Type
credentials flytekit.clients.auth.keyring.Credentials

flytekit.clients.auth.keyring.NoKeyringError

Raised when there is no keyring backend

flytekit.clients.auth.keyring.PasswordDeleteError

Raised when the password can’t be deleted.