wiz
Wiz dynamic producer for Akeyless
The payload for this producer looks like:
{"clientId": "[YOUR_CLIENT_ID_HERE]", "clientSecret": "[YOUR_CLIENT_SECRET_HERE]"}
Call clearskies_akeyless_custom_wiz.build_wiz_producer() to initialize the create/rotate/revoke endpoints. You can
optionally provide the url parameter which will add a prefix to the endpoints. This can then be attached to a
clearskies context or an endpoint group:
If used as a producer, it will use the client credentials to fetch and return a Wiz JWT. It can also rotate the client credentials you provide.
Installation
# Install uv if not already installed
uv add clear-skies-akeyless-custom-wiz
pip install clear-skies-akeyless-custom-wiz
or
pipenv install clear-skies-akeyless-custom-wiz
or
poetry add clear-skies-akeyless-custom-wiz
import clearskies
import clearskies_akeyless_custom_wiz
wsgi = clearskies.contexts.WsgiRef(
clearskies_akeyless_custom_wiz.build_wiz_producer()
)
wsgi()
Which you can test directly using calls like:
curl 'http://localhost:8080/sync/create' -d '{"payload":"{\"clientId\":\"YOUR_CLIENT_ID_HERE\",\"clientSecret\":\"YOUR_CLIENT_SECRET_HERE\"}"}'
curl 'http://localhost:8080/sync/rotate' -d '{"payload":"{\"clientId\":\"YOUR_CLIENT_ID_HERE\",\"clientSecret\":\"YOUR_CLIENT_SECRET_HERE\"}"}'
NOTE: Akeyless doesn't store your payload as JSON, even when you put in a JSON payload. Instead, it ends up as a stringified-json (hence the escaped apostrophes in the above example commands). This is normal, and normally invisible to you, unless you try to invoke the endpoints yourself.
Metadata
Release files for clear-skies-akeyless-custom-wiz 2.0.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| clear_skies_akeyless_custom_wiz-2.0.7.tar.gz | 55.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| clear_skies_akeyless_custom_wiz-2.0.7-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 60.7 kB
Release files / clear_skies_akeyless_custom_wiz-2.0.7.tar.gz
| Download URL | clear_skies_akeyless_custom_wiz-2.0.7.tar.gz |
|---|---|
| Size | 55.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1a30d1df85ae3942268791981a2caca8c7bd590f0c46cad780c90e7f36a1ccbb
|
|
BLAKE2b-256 checksum How to use checksums |
fd56ca5bc4930fa6217a90270451218d69d2d3b74f69316a0c7d65f17043ff37
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.8.17
|
Release files / clear_skies_akeyless_custom_wiz-2.0.7-py3-none-any.whl
| Download URL | clear_skies_akeyless_custom_wiz-2.0.7-py3-none-any.whl |
|---|---|
| Size | 5.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bc8070e0b548315294b9314103fe3b1f3164ee7631e498bc018810537da86a29
|
|
BLAKE2b-256 checksum How to use checksums |
570e046704f6a72916296a3776c90415b757b79d0ced25bf1a0080e40e4e1c67
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.8.17
|