Technology Encyclopedia Home >How to get SMS API SecretId and SecretKey?

How to get SMS API SecretId and SecretKey?

To obtain the SMS API SecretId and SecretKey, you typically need to follow these steps:

For Tencent Cloud:

  1. Log in to the Console: Access the Tencent Cloud console using your credentials.
  2. Navigate to SMS Service: Go to the SMS (Short Message Service) section within the console.
  3. Create or Select a Project: If you haven't already, create a new project or select an existing one where you want to use the SMS service.
  4. Access API Keys: Look for the "API Keys" or "Credentials" section within the SMS service settings.
  5. Generate Keys: Click on the option to generate a new API key pair. This will provide you with a SecretId and SecretKey.

Example:

  • Step 1: Log in to the Tencent Cloud Console.
  • Step 2: Navigate to "SMS" under the "Cloud Communication" category.
  • Step 3: Select an existing project or create a new one.
  • Step 4: Go to the "API Keys" tab.
  • Step 5: Click "Create Key" and you will receive your SecretId and SecretKey.

Security Note:

  • Protect Your Keys: These keys provide access to your cloud resources, so store them securely. Do not share them or expose them in public repositories.
  • Rotate Keys Regularly: It's a good practice to rotate your API keys periodically to enhance security.

Recommended Service:

For managing SMS services securely, consider using Tencent Cloud's SMS Service. It offers a comprehensive set of APIs for sending and managing SMS messages, along with robust security features.

By following these steps, you can securely obtain and manage your SMS API SecretId and SecretKey for use with Tencent Cloud services.