Updated on 2024-03-27 GMT+08:00

Application Scenarios

This section uses a basic database username and its password as an example to describe how CSMS works.

Figure 1 Secret-based login process

The procedure is as follows:

  1. Create a secret on the console or via an API to store database information (such as the database address, port, and password).
  2. Use an application to access the database. CSMS will query the secret you created.
  3. CSMS retrieves and decrypts the secret ciphertext, and securely returns the information stored in the secret to the application through the secret management API.
  4. The application obtains the decrypted plaintext secret and uses it to access the database.