main
version. Click here to see docs for the latest stable version.Functions for logging in and out of your Runhouse account.
Login to Runhouse. Validates token provided, with options to upload or download stored secrets or config between local environment and Runhouse / Vault.
token (str) β Runhouse token, can be found at https://www.run.house/account#token. If not provided, function will interactively prompt for the token to be entered manually.
download_config (bool) β Whether to download configs from your Runhouse account to local environment.
upload_config (bool) β Whether to upload local configs into your Runhouse account.
download_secrets (bool) β Whether to download secrets from your Runhouse account to local environment.
upload_secrets (bool) β Whether to upload local secrets to your Runhouse account.
ret_token (bool) β Whether to return your Runhouse token. (Default: False)
interactive (bool) β Whether to interactively go through the login flow. token
must be provided to
set this to False.
Token if ret_token
is set to True, otherwise nothing.
Logout from Runhouse. Provides option to delete credentials from the Runhouse config and the underlying credentials file. Token is also deleted from the config.
delete_loaded_secrets (bool, optional) β If True, deletes the provider credentials file. Defaults to None.
delete_rh_config_file (bool, optional) β If True, deletes the rh config file. Defaults to None.
interactive (bool, optional) β If True, runs the logout process in interactive mode. Defaults to None.
None