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
pip install infisical
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
delete_membership
- Delete organization membershiplist_membership
- List organization membershipsupdate_membership
- Update organization membership
list_versions
- Get secret versionsrollback_versions
- Rollback secret versionscreate
- Create secretdelete
- Delete secretslist
- List secretsupdate
- Update secrets
my_organization
- Get current user organizationsmy_user
- Get current user
delete_membership
- Delete workspace membershiplist_keys
- Get workspace encrypted keylist_logs
- Get workspace logslist_membership
- Get workspace membershipslist_snapshots
- List workspace snapshotslist_workspace
- List organization workspacesrollback_snapshots
- Rollback workspace secret snapshotsupdate_membership
- Update workspace membership