You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-`environment` (str): The environment in which to delete the secret.
360
363
361
364
**Returns:**
362
-
-`ApiV1DynamicSecretsDelete200Response['dynamicSecret']`: The response after deleting the dynamic secret
365
+
-`DynamicSecret`: The deleted dynamic secret.
363
366
364
367
### `dynamicSecrets.leases`
365
368
In this section you'll learn how to work with dynamic secret leases
@@ -389,7 +392,7 @@ console.log(lease);
389
392
-`ttl` (string, optional): A [vercel/ms](https://github.com/vercel/ms) encoded string representation of how long the lease credentials should be valid for. This will default to the dynamic secret's default TTL if not specified.
390
393
391
394
**Returns:**
392
-
-`ApiV1DynamicSecretsLeasesPost200Response`: The dynamic secret lease result.
395
+
-`CreateLeaseResponse`: The dynamic secret lease result.
-`isForced` (bool, optional): Wether or not to forcefully delete the lease. This can't guarantee that the lease will be deleted from the external provider, and is potentially unsafe for sensitive dynamic secrets.
412
415
413
416
**Returns:**
414
-
-`ApiV1DynamicSecretsLeasesLeaseIdDelete200Response`: The deleted lease result.
-`ttl` (string, optional): A [vercel/ms](https://github.com/vercel/ms) encoded string representation of how long the lease credentials should be valid for. This will default to the dynamic secret's default TTL if not specified.
436
439
437
440
**Returns:**
438
-
-`ApiV1DynamicSecretsLeasesLeaseIdDelete200Response`: The renewed lease response _(doesn't contain new credentials)_.
441
+
-`RenewLeaseResponse`: The renewed lease response _(doesn't contain new credentials)_.
-`position` (number): An optional position of the environment to be created. The position is used in the Infisical UI to display environments in order. Environments with the lowest position come first.
507
510
508
511
**Returns:**
509
-
-`ApiV1WorkspaceWorkspaceIdEnvironmentsEnvIdGet200ResponseEnvironment`: The environment that was created.
0 commit comments