Clear instance credentials in Visual Studio Code

  • 릴리스 버전: Australia
  • 업데이트 날짜 2026년 03월 12일
  • 소요 시간: 2분
  • Clear the stored credentials of the current project from the system. User credentials (instance URL, user name, password) of a project are stored in the operating system credentials vault so that the user does not need to log in each time.

    시작하기 전에

    Role required: none.

    이 태스크 정보

    Once you clear credentials from the current instance, the ServiceNow Extensions for Visual Studio Code extension prompts for authentication the next time you open VS Code. You can continue working in the current session.
    주:
    The password is not stored in the Visual Studio Code settings.

    프로시저

    1. Navigate to All > View > Command Palette.
      You can also use a keyboard shortcut, Control+Shift+P on Windows or Command+Shift+P on MacOS to open the command palette.
    2. Choose Now: Clear Credentials from the command palette.
      그림 1. Now: Clear credentials command
      Clear Credentials command
      The credentials of the current project are cleared.
    3. 옵션: Navigate to Code > Preferences > Settings > Workspace > Extensions > ServiceNow to check whether the credentials and the instance URL have been deleted.
      그림 2. Clear credentials
      Navigation to clear credentials
      주:
      To re-enter your credentials, navigate to Code Preferences Settings Workspace Extensions Now. Enter your credentials in Username and Password fields.