tencent cloud

Feedback

Instructions

Last updated: 2024-01-02 15:07:13

    Prerequisites

    You have created a database credential. If haven’t, see Creating a Database Credential.
    You have enabled rotation for the credential. If haven’t, see Enabling a Database Credential.

    Rotation Effect

    SSM rotates accounts and passwords stored in the credential upon a periodical rotation preset by the user, so that the client can obtain the newest account and password by calling GetSecretValue. The rotation does not affect the credential’s access to the corresponding database using the newest account and password, as SSM synchronizes the account and password information to the database.

    Integrating Application with SSM

    Only by calling GetSecretValue, the application can obtain the newest account and password for database access.

    Risk Notice

    Risk

    The database credential’s account password has been updated after the periodical rotation. If you access the database with the expired password, an access failure occurs.

    Solution

    To prevent access failure, do not enable the client to save passwords automatically. Also, use Tencent Cloud’s SSM SDK (Go and Python) recommended in Best Practices instead of a third-party SDK that implements database connection pooling.
    Contact Us

    Contact our sales team or business advisors to help your business.

    Technical Support

    Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

    7x24 Phone Support