tencent cloud

Secrets Manager

Instructions

Download
聚焦模式
字号
最后更新时间: 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.

帮助和支持

本页内容是否解决了您的问题?

填写满意度调查问卷,共创更好文档体验。

文档反馈