Skip to main content

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.

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.

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

clear_skies_akeyless_custom_wiz-2.0.6.tar.gz (55.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file clear_skies_akeyless_custom_wiz-2.0.6.tar.gz.

File metadata

File hashes

Hashes for clear_skies_akeyless_custom_wiz-2.0.6.tar.gz
Algorithm Hash digest
SHA256 a68832ce3f0cea5c590b4a295c53126f525b06a6c2afcedf1ada8bf9e1d67d11
MD5 b39df6efa1075156ee6ca6c3343a2459
BLAKE2b-256 0f3caab5a4433d3a7ac46284695bd5272be194cef63ed7aa88c0605d3fabbc91

See more details on using hashes here.

File details

Details for the file clear_skies_akeyless_custom_wiz-2.0.6-py3-none-any.whl.

File metadata

File hashes

Hashes for clear_skies_akeyless_custom_wiz-2.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 6f7e25f50661e2c0c40eaf259f397feb0879b873c814753531d197ef21704123
MD5 51265a909b5ff5aa7d0c50f0fe660ad1
BLAKE2b-256 e406c71930298fc5b9b4ecc2f102f59234cfe65d61accc75ff6261f351e270de

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page