This is a Python wrapper for Thycotic Secret Server API version 10.9.
pip install python_thycotic
You will need to the username, password, and Thycotic Secret Server URL to instantiate the class.
import os, thycotic
ss = thycotic.Api(
os.environ.get("THYCOTIC_USER"),
os.environ.get("THYCOTIC_PASS"),
os.environ.get("THYCOTIC_URL"),
)
Get an access token, which is used to make API calls
ss.auth()
Get a secret by id
secret = ss.get_secret(123)