Editing a Database Credential

Last updated: 2021-10-14 10:10:28

Scenarios

You can log in to the Tencent Cloud SSM console to view and edit information list, name, status, region and other details of the credential.

Prerequisites

Editing a Credential

  1. Log in to the SSM Console and click Database Credential on the left sidebar.

  2. Click the drop-down button in the top left corner of the credential list to modify the region.

  3. In the search box on the right, enter the full or partial name of the credential you want to search.

  4. Click Secret Name to check the details of the credential.

    Note:

    You can enable and disable rotation by clicking Rotation Status. For details, see Modifying rotation information.

  5. On the credential details page, you can modify the credential description and version information, enable/disable the credential, and set rotation.

Modifying basic information

  • Secret Status: can be changed by enabling the status toggle. If the toggle displays grayed out, the credential is disabled.
  • Description: (optional) describes what the credential is used for. Maximum length: 2048 bytes.

Modifying rotation information

The "Rotation Information" section displays the rotation status, rotation cycle, end time of last rotation and start time of next rotation (this information is available only when rotation is enabled).

  • Configure Rotation: click this button to enter the rotation information including rotation cycle (from 30 to 365 days) and start time of next rotation (from current time plus 24 hours to current time plus 365 days) in the pop-up window.

Rotate Now: click this button to read through a pop-up notice and then click OK to start rotation.

Note:

To start rotation, the rotation status must be enabled.

Version information

The Version Information section displays the version number of the credential, account name, and password, which can be checked by clicking View.

Note:

The plaintext of the password is automatically obtained and updated by the SSM API. For security considerations, it is not recommended that you check the values of the managed credentials on the console.