set_credentials
tecton.set_credentials(...)
Summary​
Explicitly override Tecton Service Account credentials.
Typically, the Tecton API Key and Tecton URL are set in environment variables
(TECTON_API_KEY
& API_SERVICE, respectively
), but you can use this function
to set the Tecton API Key and URL during an interactive Python session.
If user credentials are also set in the same session using tecton.login()
, the
user credentials take priority over the Service Account credentials.