skillfed

python-tss-sdk

The Delinea Secret Server Python SDK

python-tss-sdk v2.0.1 450.3K downloads/30d#6,592 on PyPI
Permissive license AGING released

What it is and what it does

This SDK is a REST client that connects to Delinea Secret Server or Platform to fetch secrets programmatically. It abstracts away HTTP details and provides classes for authentication (password-based, domain-based, or token-based) and secret retrieval, returning secrets as JSON objects or dataclass instances. The library depends only on requests and supports Python 3.8 through 3.11.

You use it by instantiating an authorizer with your credentials, creating a client, and calling get_secret() with a secret ID or path. It handles OAuth2 token exchange internally and can work with self-signed certificates via the REQUESTS_CA_BUNDLE environment variable. The SDK has not been updated in 284 days, so verify compatibility with your Secret Server version.

Use it for:

  • Retrieve database credentials at application startup to connect to production databases securely.
  • Fetch API keys or tokens within a CI/CD pipeline for deployment automation.
  • Access domain credentials for Windows authentication in hybrid environments.
  • Integrate as a centralized credential store for microservices running on Kubernetes.
  • Query secret paths programmatically in compliance and audit workflows.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

A Python client library for retrieving secrets from Delinea Secret Server and Platform via REST APIs, supporting multiple authentication methods.

Yes, if you use Delinea Secret Server or Platform and need a Python client to retrieve secrets. The library is straightforward, has low install friction, and carries no known vulnerabilities. However, maintenance is aging (284 days since last release), so verify compatibility with your Secret Server version and check for any API changes.

Install

python-tss-sdk on PyPI

pip

pip install python-tss-sdk

uv

uv add python-tss-sdk

poetry

poetry add python-tss-sdk

Installing python-tss-sdk

Before you install

Low install friction with a single pure-Python wheel dependency on requests. Maintenance status is aging—last release was 284 days ago—so updates may lag behind upstream changes.

License in practice

Licensed under Apache Software License (permissive), allowing use in most commercial and open-source projects without significant legal constraints.

Quickstart

pip install python-tss-sdk

from python_tss_sdk import SecretServerCloud, PasswordGrantAuthorizer

authorizer = PasswordGrantAuthorizer("https://hostname/SecretServer", username, password)
secret_server = SecretServerCloud(tenant="mytenant", authorizer=authorizer)
secret = secret_server.get_secret(secret_id)

Requires Python 3.8 or higher. Valid Secret Server or Platform credentials and network access to the server instance are required.

Verify before relying

  • Whether the SDK handles token refresh automatically or requires manual re-authentication after expiry.
  • Performance characteristics when retrieving large numbers of secrets or working with large payloads.
  • Compatibility with recent Secret Server or Platform API versions beyond the last release date.

Package facts

License not declared (permissive)
Python support supports the current Python release (>=3.8)
Install friction low — pure-Python wheel
Runtime dependencies 1 — requests
Maintenance aging — 284 days since the last release
First released
Downloads 450,293/month — #6,592 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: python_tss_sdk-2.0.1-py3-none-any.whl

License :: OSI Approved :: Apache Software LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9

Tags

secret server python clientdelinea secrets sdkretrieve secrets from secret serversecret management pythontss api clientpassword vault integrationcredential retrieval sdk
secrets-managementcredential-retrievaldelinea-integration

More Security packages