Skip to main content
Version: Beta 🚧

Session

Methods to configure your Session Settings in a Notebook Environment

PageDescription
clear_credentials(Deprecated - use logout) Clears any Service Account credentials and Tecton URL that were set using tecton.login()
complete_loginComplete non-interactive login as a User.
get_caller_identityIntrospect the current User or API Key used to authenticate with Tecton.
loginAuthenticate to a Tecton instance either as a user or with a Tecton API key.
login_with_code(Deprecated - use complete_login) Completes non-interactive tecton.login by exchanging the authorization code for the access token.
logoutClear any User credentials from the interactive Python session that were previously set using tecton.login().
set_credentials(Deprecated - use login) Explicitly override Tecton Service Account credentials.
set_validation_modeConvenience utility to set the Tecton object validation mode for the lifetime of the Python process.
test_credentials(Deprecated - use get_caller_identity) Test credentials and throw an exception if unauthenticated.
who_am_i(Deprecated - use get_caller_identity) Introspect the current User or API Key used to authenticate with Tecton.

Was this page helpful?