:doc:`AuroraDSQL <../../dsql>` / Client / generate_db_connect_admin_auth_token

************************************
generate_db_connect_admin_auth_token
************************************



.. py:method:: AuroraDSQL.Client.generate_db_connect_admin_auth_token(Hostname, Region=None, ExpiresIn=900)

    
  Generate a DSQL database token for the "DbConnectAdmin" action.
  
  :type Hostname: str
  :param Hostname: The DSQL endpoint host name.
  
  :type Region: str
  :param Region: The AWS region where the DSQL Cluster is hosted. If None, the client region will be used.
  
  :type ExpiresIn: int
  :param ExpiresIn: The token expiry duration in seconds (default is 900 seconds).
  
  :return: A presigned url which can be used as an auth token.
