Account(accountId, keyId, keySecret)

Account 类存储阿里账号信息. 构建账号对象如下:

字段 类型 说明
accountId String ali account id
keyId String ali key id
keySecret String ali key secret
var AliMNS = require("ali-mns");
var account = new AliMNS.Account("<your-owner-id>", "<your-key-id>", "<your-key-secret>");

账号对象通常作为其它类的参数,如 MNS, MQ

点击这里查找你的信息

account.getAccountId()

返回 ali account id.

account.getKeyId()

返回 ali key id.

results matching ""

    No results matching ""