View profiles

  • 릴리스 버전: Australia
  • 업데이트 날짜 2026년 03월 12일
  • 소요 시간: 1분
  • View all connection profiles set in the configuration file, or view information about a specific profile.

    시작하기 전에

    A default profile must first exist to communicate with an instance.

    Role required: none.

    이 태스크 정보

    For each profile, the CLI displays host information, version details, user name, login method, and preferred output format. It does not display sensitive information such as passwords or client IDs.

    프로시저

    Open your system's command-line tool and execute this command.

    Include the [--profile profile-name] argument to view the connection information for a single profile. Otherwise, the CLI lists information for all profiles.

    $ snc configure profile list [--profile profile-name]

    This command displays all configured profiles.

    $ snc configure profile list

    The CLI provides the following output.

    {
       "profiles":{
          "default":{
          "host":"https://myinstance.service-now.com",
          "loginmethod":"basic",
          "username":"admin",
          "output":"json",
          "hostversion":"Paris",
          "appversion":"1.0"
       }
    }