Enterprise Console でのログインとログアウト

Enterprise Console でのログインおよびログアウトのコマンドは、以下のとおりです。

  • login --user-name <admin_username> --password <admin_password>

    最後のセッションから 1 日以上経った場合には、ログインしてからコマンド ライン ユーティリティを使用する必要があります。また、次のエラーメッセージが表示された場合も、再度ログインする必要があります。

    error: Command failed due to an error: Unauthorized
    API code 401
    Session expired. Please login and run the command again.
  • ログアウト