generateDbConnectAdminAuthToken

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

Generates an auth token for the DbConnectAdmin 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