Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kumpeapps/infisical_api
https://github.com/kumpeapps/infisical_api
Last synced: 19 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/kumpeapps/infisical_api
- Owner: kumpeapps
- License: gpl-3.0
- Created: 2024-02-07T00:46:29.000Z (11 months ago)
- Default Branch: master
- Last Pushed: 2024-06-01T19:54:14.000Z (7 months ago)
- Last Synced: 2024-06-01T21:34:31.068Z (7 months ago)
- Language: Python
- Size: 24.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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
```python
from infisical_api import infisical_apisecrets = 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
```