flytekit.clients.auth.keyring
Stores the credentials together
class Credentials(
access_token: str,
refresh_token: typing.Optional[str] = None,
for_endpoint: str = 'flyte-default',
expires_in: typing.Optional[int] = None,
id_token: typing.Optional[str] = None,
)
| Parameter |
Type |
Description |
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 |
Description |
for_endpoint |
str |
|
def retrieve(
for_endpoint: str,
) -> typing.Optional[flytekit.clients.auth.keyring.Credentials]
| Parameter |
Type |
Description |
for_endpoint |
str |
|
def store(
credentials: flytekit.clients.auth.keyring.Credentials,
) -> flytekit.clients.auth.keyring.Credentials
| Parameter |
Type |
Description |
credentials |
flytekit.clients.auth.keyring.Credentials |
|