No project description provided
Project description
liquid
| :warning: WARNING |
|---|
| This SDK is in beta and will increment quickly to add in more functionality. |
| An (unoficial) AquaSec Python SDK for automation purposes. The goal is to make working with the AquaSec API's easier and more predictable. |
How to Get Started
In AquaSec there are multiple ways to authenticate and it largely depends on the deployment model (SaaS or Local). In order to make this an all-in-one sdk we support both deployment models. Within SaaS there is two ways to authenticate, an API Key or a static (non-sso) user/password authentication.
pip install liquid-sdk
Local Deployment Model:
- Set the following env variables:
- AQUA_USER
- AQUA_PASS
- AQUA_URL
- Then you can instantiate the client like this:
AQUA_CLIENT = liquid.client("aqua_cwp", {"auth_options": {"ssl_verify": False}})
Saas Deployment Model (Static User):
- Set the following env variables:
- AQUA_USER
- AQUA_PASS
- Then you can instantiate the client like this:
AQUA_CLIENT = liquid.client("aqua_cwp", {"auth_options": {"ssl_verify": True}})
Saas Deployment Model (API Key):
[!IMPORTANT] Please follow the AquaSec Documentation for creating an API Key and associating the correct priviledges to it.
- Set the following env variables:
- AQUA_API_KEY
- AQUA_API_SECRET
- AQUA_CSP_ROLES (comma separated list of roles created in AQUA that the sdk client will assume i.e. "Auditor")
- AQUA_API_ACTIONS (comma separated list of api actions i.e."get,post,delete")
- Then you can instantiate the client like this:
AQUA_CLIENT = liquid.client( "aqua_cwp", {"auth_options": {"auth_type": "saas_api", "ssl_verify": True}} )
Contributing
Project details
Release history Release notifications | RSS feed
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 liquid_sdk-0.0.2.tar.gz.
File metadata
- Download URL: liquid_sdk-0.0.2.tar.gz
- Upload date:
- Size: 13.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6b12177abe73053f6a384619426ed0a7c57b6a488f32e1186defff9c649b0aef
|
|
| MD5 |
615a49890b6cec818a200ef0172cecc4
|
|
| BLAKE2b-256 |
491ff4dfb1c989104f24311b42eec1b27a2c77aba2f861e21cc85b47e90859cf
|
File details
Details for the file liquid_sdk-0.0.2-py3-none-any.whl.
File metadata
- Download URL: liquid_sdk-0.0.2-py3-none-any.whl
- Upload date:
- Size: 9.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b328ab6e4efe7f61069b9653077e25bde01575680cd604167a9b035d1c470762
|
|
| MD5 |
445ddaadf126770d281a610d83ef2fa4
|
|
| BLAKE2b-256 |
2017ddb09236d02ef982e3acee1c20f0300a4a636156e085b444725e88612a3b
|