client.dynamic_secrets.leases.renew() keeps a lease’s credentials valid for longer. Renew the lease before it expires, because an expired lease’s credentials are already revoked.
Parameters
How much time to add to the lease’s current expiry time, such as
1h. Defaults to the dynamic secret’s default TTL. A renewal fails if it would make the lease last longer than the dynamic secret’s max TTL, counted from when the lease was created.