0.1.dev2192+g7c539c3.d20250403
flytekit.clients.auth.keyring
Directory
Classes
flytekit.clients.auth.keyring.Credentials
Stores the credentials together
class 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
delete()
def delete(
for_endpoint: str,
)
Parameter |
Type |
for_endpoint |
str |
retrieve()
def retrieve(
for_endpoint: str,
) -> typing.Optional[flytekit.clients.auth.keyring.Credentials]
Parameter |
Type |
for_endpoint |
str |
store()
def store(
credentials: flytekit.clients.auth.keyring.Credentials,
) -> flytekit.clients.auth.keyring.Credentials
Parameter |
Type |
credentials |
flytekit.clients.auth.keyring.Credentials |