AuroraDSQL / Client / generate_db_connect_admin_auth_token
generate_db_connect_admin_auth_token#
- AuroraDSQL.Client.generate_db_connect_admin_auth_token(Hostname, Region=None, ExpiresIn=900)#
Generate a DSQL database token for the “DbConnectAdmin” action.
- Parameters:
Hostname (str) – The DSQL endpoint host name.
Region (str) – The AWS region where the DSQL Cluster is hosted. If None, the client region will be used.
ExpiresIn (int) – The token expiry duration in seconds (default is 900 seconds).
- Returns:
A presigned url which can be used as an auth token.