generateDbConnectAuthToken

suspend fun generateDbConnectAuthToken(endpoint: Url, region: String, expiration: Duration = 900.seconds): String

Generates an auth token for the DbConnect action.

Parameters

endpoint

the endpoint of the database

region

the region of the database

expiration

how long the auth token should be valid for. Defaults to 900.seconds