Skip to main content

httpie-zign

STUPS Zign OAuth 2 plugin for the HTTPie command line HTTP client.

Zign is STUPS’ command line client to generate OAuth2 access tokens.

Installation

$ pip install httpie-zign

You should now see zign under --auth-type in $ http --help output.

Usage

This plugin takes the Zign token name as the --auth username. The --auth password is used to specify to OAuth scopes. A named Zign OAuth 2 token is created and used with the specified scopes:

$ http --auth-type=zign --auth=mytok:myscope https://example.org
$ http --auth-type=zign -a mytok:myscope1,scope2 https://example.org
$ http --auth-type=zign -a mytok: https://example.org  # use default scopes

You can list the created tokens using the Zign CLI:

$ zign li

You can set the default --auth-type=zign option in the ~/.httpie/config.json file for convenience:

$ echo '{"default_options": ["--auth-type=zign"]}' > ~/.httpie/config.json
$ http -a mytok: https://example.org # that's much shorter now :-)

Metadata

Release files for httpie-zign 0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for httpie-zign 0.2
File Size Uploaded Provenance
httpie-zign-0.2.tar.gz 2.3 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for httpie-zign 0.2
File Interpreter ABI Platform
httpie_zign-0.2-py3-none-any.whl Python 3 none any Details

Total release size: 9.5 kB

Release files / httpie-zign-0.2.tar.gz

Download URL httpie-zign-0.2.tar.gz
Size 2.3 kB
Tags Source
SHA-256 checksum
How to use checksums
5aaa7ec66933c05ce71b2f85777cfb946e716845ea4047e861f47843cfd82163
BLAKE2b-256 checksum
How to use checksums
295042641376b370f97825002833ee54e98cd360a244af9ea335d443b353845e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / httpie_zign-0.2-py3-none-any.whl

Download URL httpie_zign-0.2-py3-none-any.whl
Size 7.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
308e787ff0d51ac8b836d64714713c599d8e5ae608c259874edfa490675cd356
BLAKE2b-256 checksum
How to use checksums
2f388a9424d2da9a819020470936bb4686d6a6c3558b694bd20aed5dd9c5439e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for httpie-zign 0.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Release history Release notifications | RSS feed

This release

0.2 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page