0xV3NOMx
Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64



Your IP : 3.141.201.92


Current Path : /proc/thread-self/root/usr/share/doc/awscli/examples/rds/
Upload File :
Current File : //proc/thread-self/root/usr/share/doc/awscli/examples/rds/generate-auth-token.rst

**To generate an authentication token**

The following ``generate-db-auth-token`` example generates an authentication token for use with IAM database authentication. ::

    aws rds generate-db-auth-token \
        --hostname aurmysql-test.cdgmuqiadpid.us-west-2.rds.amazonaws.com \
        --port 3306 \
        --region us-east-1 \
        --username jane_doe

Output::

    aurmysql-test.cdgmuqiadpid.us-west-2.rds.amazonaws.com:3306/?Action=connect&DBUser=jane_doe&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIESZCNJ3OEXAMPLE%2F20180731%2Fus-east-1%2Frds-db%2Faws4_request&X-Amz-Date=20180731T235209Z&X-Amz-Expires=900&X-Amz-SignedHeaders=host&X-Amz-Signature=5a8753ebEXAMPLEa2c724e5667797EXAMPLE9d6ec6e3f427191fa41aeEXAMPLE