Infisical Client using REST API
Project description
infisical_api
infisical_api is a python client for the infisical REST API. I found some of the dependencies int he infisical_python client incompatible with some of my applications so I build this very simple version that utilizes the REST API.
Get Secret
from infisical_api import infisical_api
secrets = infisical_api(service_token=token,infisical_url=url) # infisical_url is only needed if using self-hosted
username = secrets.get_secret(secret_name="USERNAME", path="/MYSQL").secretValue # path defaults to "/" when not specified
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
infisical_api-1.0.0.tar.gz
(16.3 kB
view details)
Built Distribution
File details
Details for the file infisical_api-1.0.0.tar.gz
.
File metadata
- Download URL: infisical_api-1.0.0.tar.gz
- Upload date:
- Size: 16.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bab941b3909e797f2df75bac5054b80b072fa35c4e751553d79b8e4bc248cf5f |
|
MD5 | 9df533e1e323e7cf6ed96ece238649c9 |
|
BLAKE2b-256 | 2f656190c1ee6b63d3367a605ab941e7c90f3a3a147eca845c63d5131369d8d2 |
File details
Details for the file infisical_api-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: infisical_api-1.0.0-py3-none-any.whl
- Upload date:
- Size: 14.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 08ded68845552e64bc52d946b48f100f6183b5aac5d441043321cf844207c16e |
|
MD5 | cdc4280b346d42a2837b801495ac4eb8 |
|
BLAKE2b-256 | bb70998431abc4284e08b4e2b070fef4869261f4fd7c900533e9785a6968653f |