htgettoken
htgettoken gets OIDC bearer access tokens by interacting with a
Hashicorp vault server configured for retrieving and storing OIDC
refresh tokens using the
htvault-config package.
For details on its usage please see the man page.
Packaging for Red Hat Enterprise Linux systems is included. Rpms are distributed in the Open Science Grid yum repositories. After enabling the OSG repositories, do this as root to install it:
yum install htgettoken
htgettoken and Vault are also integrated with HTCondor. It is available in HTCondor versions 9.0.6 and later.
See this paper submitted to vCHEP 2021 for a description of htgettoken, htvault-config, and their HTCondor integration.
additional commands
A few additional helpful commands are bundled with htgettoken. Click on each one below to see their man pages.
- htdecodetoken/httokendecode -- decodes JSON Web Tokens that it finds either according to a given filename or based on the WLCG Bearer Token Discovery standard if no filename is given.
- htdestroytoken -- removes bearer and vault tokens
- httokensh -- keeps the bearer token renewed as long as a command it starts runs
Release files for htgettoken 2.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| htgettoken-2.2.tar.gz | 29.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| htgettoken-2.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 49.1 kB
Release files / htgettoken-2.2.tar.gz
| Download URL | htgettoken-2.2.tar.gz |
|---|---|
| Size | 29.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d3bee13803895c7b782bc9ebc059cf12428158e098bb0a97f4999c7c8eef6301
|
|
BLAKE2b-256 checksum How to use checksums |
8e341e891bb560ff841a631fcb7c7c21e1a628cc572058d6a4561444a056e2cd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.4
|
Release files / htgettoken-2.2-py3-none-any.whl
| Download URL | htgettoken-2.2-py3-none-any.whl |
|---|---|
| Size | 19.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b3f8413f2043f9c4687c1d8c7c3b70cbce0aefe1242ce8cdbc4bf0ae0680a6ed
|
|
BLAKE2b-256 checksum How to use checksums |
a7a2c4a0c7e0ac41da36daed620828c09e1707603b514da71c4b87b33f849661
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.4
|