Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

minor doc fixes

Daniel Hougaardaae09c2fe2ad
diff --git a/docs/integrations/platforms/ansible.mdx b/docs/integrations/platforms/ansible.mdx
index 1f6a837670..59b4b1b39c 100644
--- a/docs/integrations/platforms/ansible.mdx
+++ b/docs/integrations/platforms/ansible.mdx
@@ -415,14 +415,14 @@ To use a dynamic secret, you need to create a **lease** which generates the actu
## Troubleshoot
<Accordion title="I'm getting a error related to objc[72832]: +[__NSCFConstantString initialize]">
- If you get this Python error when you running the lookup plugin:-
+ If you get this Python error when you running the lookup plugin:
```
objc[72832]: +[__NSCFConstantString initialize] may have been in progress in another thread when fork() was called. We cannot safely call it or ignore it in the fork() child process. Crashing instead. Set a breakpoint on objc_initializeAfterForkError to debug.
Fatal Python error: Aborted
```
- You will need to add this to your shell environment or ansible wrapper script:-
+ You will need to add this to your shell environment or ansible wrapper script:
```
export OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES
diff --git a/docs/sdks/languages/python.mdx b/docs/sdks/languages/python.mdx
index 039a7cc1e4..a545a38942 100644
--- a/docs/sdks/languages/python.mdx
+++ b/docs/sdks/languages/python.mdx
@@ -511,12 +511,12 @@ renewed_lease = client.dynamic_secrets.leases.renew(
**Returns:**
- `DynamicSecretLease`: The renewed lease.
-#### Delete Lease
+#### Revoke Lease
Revoke a lease and its associated credentials:
```python
-deleted_lease = client.dynamic_secrets.leases.delete(
+revoked_lease = client.dynamic_secrets.leases.revoke(
lease_id="<lease-id>",
project_slug="my-project",
environment_slug="dev",
@@ -526,14 +526,14 @@ deleted_lease = client.dynamic_secrets.leases.delete(
```
**Parameters:**
-- `lease_id` (str): The ID of the lease to delete.
+- `lease_id` (str): The ID of the lease to revoke.
- `project_slug` (str): The slug of your project.
-- `environment_slug` (str): The environment in which to delete the lease.
+- `environment_slug` (str): The environment in which to revoke the lease.
- `path` (str, optional): The path to the dynamic secret. Defaults to "/".
-- `is_forced` (bool, optional): A boolean flag to delete the lease from Infisical without trying to remove it from the external provider. Defaults to `False`.
+- `is_forced` (bool, optional): A boolean flag to revoke the lease from Infisical without trying to remove it from the external provider. Defaults to `False`.
**Returns:**
-- `DynamicSecretLease`: The deleted lease.
+- `DynamicSecretLease`: The revoked lease.
### `kms`