client.dynamic_secrets.leases.get() fetches a lease, such as to check when it expires.
Parameters
Returns
The lease, with its expiry time in
expireAt and its dynamic secret in dynamicSecret. The lease doesn’t include the credentials.