这份文档还在翻译中,预期年底前完成。欢迎您提供宝贵的意见及建议。

Secret Management

The Vonage Account API enables you to manage your API secret(s) programmatically.

Each Vonage account can have up to two API secrets at any time. This allows you to create a second API secret, test your application and deploy the new configuration to production without interrupting your customer's service. Once that's done, you can revoke the existing API secret until you need to rotate your credentials again.

You can manage your API secrets via the account API or the settings section in the Vonage Dashboard.

Subaccount Secret Management

In addition to managing your own API secrets, primary accounts can manage API secrets for any subaccount that it owns. To do this, authenticate with the Vonage API using your primary account's API key and secret and specify the subaccount's API key as the account_id to manage in your API call.