Name | Description |
---|---|
CONOHA_USERNAME |
API ユーザー名 |
CONOHA_PASSWORD |
API ユーザー パスワード |
CONOHA_REGION |
リージョン名(tyo1 , tyo2 , sin1 , ...) |
CONOHA_TENANT_ID |
テナント ID |
dist
に出力。
npm run build
認証が必要な API は事前に環境変数の設定が必要。
export CONOHA_USERNAME="your_username"
export CONOHA_PASSWORD="your_password"
export CONOHA_REGION="your_region"
export CONOHA_TENANT_ID="your_tenant_id"
サンプルコード(example.js)の実行。
npm run start