minor doc fixes

This commit is contained in:
Daniel Hougaard
2025-12-24 14:58:22 +01:00
parent b234dbfbcc
commit aae09c2fe2
2 changed files with 8 additions and 8 deletions

View File

@@ -415,14 +415,14 @@ To use a dynamic secret, you need to create a **lease** which generates the actu
## Troubleshoot ## Troubleshoot
<Accordion title="I'm getting a error related to objc[72832]: +[__NSCFConstantString initialize]"> <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. 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 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 export OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES

View File

@@ -511,12 +511,12 @@ renewed_lease = client.dynamic_secrets.leases.renew(
**Returns:** **Returns:**
- `DynamicSecretLease`: The renewed lease. - `DynamicSecretLease`: The renewed lease.
#### Delete Lease #### Revoke Lease
Revoke a lease and its associated credentials: Revoke a lease and its associated credentials:
```python ```python
deleted_lease = client.dynamic_secrets.leases.delete( revoked_lease = client.dynamic_secrets.leases.revoke(
lease_id="<lease-id>", lease_id="<lease-id>",
project_slug="my-project", project_slug="my-project",
environment_slug="dev", environment_slug="dev",
@@ -526,14 +526,14 @@ deleted_lease = client.dynamic_secrets.leases.delete(
``` ```
**Parameters:** **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. - `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 "/". - `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:** **Returns:**
- `DynamicSecretLease`: The deleted lease. - `DynamicSecretLease`: The revoked lease.
### `kms` ### `kms`