skillfed

stups-zign

OAuth2 token management CLI

stups-zign v1.2.2 130.3K downloads/30d#11,646 on PyPI
Permissive license Apache-2.0 Active released

What it is and what it does

Zign is a command-line OAuth2 token management tool designed for the STUPS ecosystem. It provides a simple interface to obtain and manage OAuth2 tokens for use in automated systems, CI/CD pipelines, and scripts that need to authenticate with OAuth2-protected services. The tool is built on top of stups-tokens and stups-cli-support, integrating with the broader STUPS infrastructure for credential and token handling.

The package is intended for developers and system administrators working within environments that use STUPS for infrastructure management. It runs as a standalone CLI utility (invoked via the `ztoken` command) and handles the mechanics of token acquisition, storage, and lifecycle management, abstracting away the complexity of direct OAuth2 flows.

Use it for:

  • Obtain OAuth2 tokens in CI/CD pipelines for automated deployments and infrastructure operations.
  • Manage tokens for local development workflows when working with OAuth2-protected internal services.
  • Provide token acquisition in shell scripts and automation tools that need to authenticate with STUPS-managed resources.
  • Integrate token management into system administration tasks for STUPS-based infrastructure.
  • Enable command-line access to services requiring OAuth2 authentication without manual token handling.

Worth the install?

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

Zign is a command-line utility for OAuth2 token management, enabling you to obtain and manage tokens for use in automated workflows and scripts.

Yes, if you are working within a STUPS-managed infrastructure environment. The package is actively maintained, has low install friction, carries no known vulnerabilities, and uses a permissive Apache-2.0 license. It is purpose-built for OAuth2 token management in that ecosystem. If you are not using STUPS, this tool is unlikely to be relevant.

Install

stups-zign on PyPI

pip

pip install stups-zign

uv

uv add stups-zign

poetry

poetry add stups-zign

Installing stups-zign

Before you install

Low install friction with a pure-Python wheel distribution. Actively maintained as of 114 days ago with a release history spanning since 2015. Requires Python 3.10 or later.

License in practice

Licensed under Apache-2.0 (permissive), allowing free use, modification, and distribution in both open-source and commercial contexts with minimal restrictions.

Quickstart

$ pip install stups-zign
$ ztoken

Requires Python 3.10 or later.

Verify before relying

  • Whether ztoken command works standalone or requires additional STUPS infrastructure setup.
  • How token caching and refresh behavior is configured in practice.
  • Whether the package integrates with specific OAuth2 providers or is provider-agnostic.

Package facts

License Apache-2.0 (permissive)
Python support supports the current Python release (>=3.10)
Install friction low — pure-Python wheel
Runtime dependencies 5 — clickclick, pyyaml, requests, stups-cli-support, stups-tokens
Maintenance actively maintained — 114 days since the last release
First released
Downloads 130,272/month — #11,646 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: stups_zign-1.2.2-py3-none-any.whl

Development Status :: 4 - BetaEnvironment :: ConsoleIntended Audience :: DevelopersIntended Audience :: System AdministratorsOperating System :: POSIX :: LinuxProgramming Language :: Python :: 3Programming Language :: Python :: Implementation :: CPython

Tags

oauth2 token management clicommand line token utilityoauth2 cli tooltoken acquisition command linestups token managementztoken cliautomated oauth2 tokens
oauth2stupstoken-management

More Utilities packages