client.dynamic_secrets.leases.create() leases credentials from a dynamic secret. Each lease gives your application its own credentials, which Infisical revokes when the lease expires or when you revoke the lease.
To find the project slug, open the project, go to Administration > Settings, and copy the Project slug.
Parameters
How long the credentials stay valid, such as
30m or 2h. Defaults to the dynamic secret’s default TTL, and can’t be longer than its max TTL.