Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/speakeasy-sdks/infisical-python-sdk

A python SDK for accessing the Infisical API.
https://github.com/speakeasy-sdks/infisical-python-sdk

api infisical open-source python sdk secret-management secret-ops

Last synced: 1 day ago
JSON representation

A python SDK for accessing the Infisical API.

Awesome Lists containing this project

README

        



Open Source SecretOps


The Open Source, end-to-end, easy to use tool that lets you securely sync secrets and configs across your team, devices, and infrastructure






## SDK Installation

```bash
pip install infisical
```

## SDK Example Usage

```python
import infisical
from infisical.models import operations, shared

s = infisical.Infisical(
security=shared.Security(
bearer_auth="Bearer YOUR_BEARER_TOKEN_HERE",
),
)

req = operations.DeleteOrgMembershipsRequest(
membership_id="corrupti",
organization_id="provident",
)

res = s.organizations.delete_membership(req)

if res.membership is not None:
# handle response
```

## Available Resources and Operations

### organizations

* `delete_membership` - Delete organization membership
* `list_membership` - List organization memberships
* `update_membership` - Update organization membership

### secrets

* `list_versions` - Get secret versions
* `rollback_versions` - Rollback secret versions
* `create` - Create secret
* `delete` - Delete secrets
* `list` - List secrets
* `update` - Update secrets

### user

* `my_organization` - Get current user organizations
* `my_user` - Get current user

### workspaces

* `delete_membership` - Delete workspace membership
* `list_keys` - Get workspace encrypted key
* `list_logs` - Get workspace logs
* `list_membership` - Get workspace memberships
* `list_snapshots` - List workspace snapshots
* `list_workspace` - List organization workspaces
* `rollback_snapshots` - Rollback workspace secret snapshots
* `update_membership` - Update workspace membership

### SDK Generated by [Speakeasy](https://docs.speakeasyapi.dev/docs/using-speakeasy/client-sdks)