Twilio API_KEY_SECRET 是否与控制台中的 Twilio Auth Token 相同?

Is Twilio API_KEY_SECRET is same as the Twilio Auth Token in console?

我正在尝试使用 Twilio 视频,为此我需要从我的应用服务器获取访问令牌 (jwt)。

下面是生成访问令牌的 NodeJS 应用程序服务器代码。在下面的凭据中,API_KEY_SECRET 是必需的,我认为这与可以在 Twilio console 中找到的 Twilio Auth 令牌相同。

我的理解对吗?如果没有,我在哪里可以找到 API_KEY_SECRET ?

var AccessToken = require('twilio').AccessToken;

// Substitute your Twilio AccountSid and ApiKey details
var ACCOUNT_SID = 'accountSid';
var API_KEY_SID = 'apiKeySid';
var API_KEY_SECRET = 'apiKeySecret';

// Create an Access Token
var accessToken = new AccessToken(
  ACCOUNT_SID,
  API_KEY_SID,
  API_KEY_SECRET
);

// Set the Identity of this token
accessToken.identity = 'example-user';

// Grant access to Conversations
var grant = new AccessToken.ConversationsGrant();
grant.configurationProfileSid = 'configurationProfileSid';
accessToken.addGrant(grant);

// Serialize the token as a JWT
var jwt = accessToken.toJwt();
console.log(jwt);

当您创建 API 密钥(API_KEY_SID)时 - 您将看到密钥的秘密(API_KEY_SECRET),

您将使用您在步骤 1 中创建的 API 密钥 (API_KEY_SID) 的秘密 (API_KEY_SECRET) 生成一个 access-token(ACCESS_TOKEN) 使用 Twilio 助手库

这里有详细的解释 - Twilio Authorization - 参考步骤 1,2,3,它用不同语言的例子解释,包括 Nodejs。