0.1.dev2192+g7c539c3.d20250403
flytekit.clients.auth.keyring
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] |
Methods to access Keyring Store.
def delete(
for_endpoint: str,
)
Parameter |
Type |
for_endpoint |
str |
def retrieve(
for_endpoint: str,
) -> typing.Optional[flytekit.clients.auth.keyring.Credentials]
Parameter |
Type |
for_endpoint |
str |
def store(
credentials: flytekit.clients.auth.keyring.Credentials,
) -> flytekit.clients.auth.keyring.Credentials
Parameter |
Type |
credentials |
flytekit.clients.auth.keyring.Credentials |