Creating user analysis tokens in SonarQube Server

Time to complete icon5 minutes to complete

Overview

This course explains what a user token is and how to create one in SonarQube Server. It demonstrates how user tokens can perform actions via Web API while keeping your personal password secure.

Learning objectives

After completing this course, you’ll be able to:

  • Explain the purpose of user tokens.
  • Generate a user token.
  • Authenticate with a user token in SonarQube.
  • Identify the permissions associated with a user token.

Key topics

  • Purpose and function of SonarQube user tokens
  • Generating a user token through user account settings
  • Setting an expiration date for a user token
  • Securely saving user tokens
  • Generating user tokens as an administrator

Target audience

  • Administrator
  • DevOps engineer
  • Developer
  • Engineering leader
  • Analyst

Prerequisites

  • Access to a SonarQube Server instance
  • User account on SonarQube Server
  • Permissions assigned to your user account