Akeyless+Clearskies Custom Wiz Producer/Rotator
Project description
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.
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.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file clear_skies_akeyless_custom_wiz-2.0.0.tar.gz.
File metadata
- Download URL: clear_skies_akeyless_custom_wiz-2.0.0.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.2 CPython/3.12.3 Linux/6.8.0-71-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
945bbf3b91d76537c381a00fca9de12f0ac5e51e34dd306654e9ac7134ed7277
|
|
| MD5 |
49493a49ef57cff426ff1982ab68e144
|
|
| BLAKE2b-256 |
3dc0fb2aeb28557e47496ff2825dcf50f2051789dfed63d0e3c7badad6d6bac5
|
File details
Details for the file clear_skies_akeyless_custom_wiz-2.0.0-py3-none-any.whl.
File metadata
- Download URL: clear_skies_akeyless_custom_wiz-2.0.0-py3-none-any.whl
- Upload date:
- Size: 4.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.2 CPython/3.12.3 Linux/6.8.0-71-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1e83423f0192f0da81f7523c087bc5be10fa553d3bb1a63319a71ee8cc697b66
|
|
| MD5 |
1473373f9b7a6656c223e3a595772ee7
|
|
| BLAKE2b-256 |
72a970e1ae313fe8c035f3d470cd09eae94f74fa05b91ec1257a0ccb36089ed6
|