toEnv()

in commands/run.js [57:72]


  toEnv() {
    const result = {
      'ALIBABACLOUD_ACCESS_KEY_ID': this.id,
      'ALICLOUD_ACCESS_KEY_ID': this.id,
      'ALIBABACLOUD_ACCESS_KEY_SECRET': this.secret,
      'ALICLOUD_ACCESS_KEY_SECRET': this.secret
    };

    if (this.token) {
      result['ALIBABACLOUD_SECURITY_TOKEN'] = this.token;
      result['ALICLOUD_SECURITY_TOKEN'] = this.token;
      result['SECURITY_TOKEN'] = this.token;
    }

    return result;
  }