Configure Environment Variables

To add new environment variables:

  1. Navigate to Manage Jenkins > Credentials.

  2. Click Add Credentials.

  3. Add the credentials as Secret Text.

     Ensure to record the generated Credential ID, as this ID will be referenced in the pipeline script.

Environment Variables

The following table lists the required configuration variables along with their descriptions for setting up Qualys platform authentication.

To create a user-level client, see Set up Token-based Authentication from UI.

Variable Name

Description

QUALYS_URL

Use this variable to specify the Qualys platform URL.

AUTH_TYPE

Use this variable to specify the authentication type (BASIC, OIDC, or IDP).

QUALYS_USERNAME

Use this variable to specify the username for BASIC authentication.

QUALYS_PASSWORD

Use this variable to specify the password for BASIC authentication.

QUALYS_CLIENTID

Use this variable to specify the client ID for OIDC authentication.

QUALYS_CLIENTSECRET

Use this variable to specify the client secret for OIDC authentication.

IDP_CLIENTID

Use this variable to specify the client ID for IDP authentication.

IDP_CLIENTSECRET

Use this variable to specify the client secret for IDP authentication.

TOKEN_URL

Use this variable to specify the token endpoint URL of your Identity Provider. Required when AUTH_TYPE is IDP.

SCOPE

Use this variable to specify the scope to request from the IDP token endpoint.

IDP_AUDIENCE

Use this variable to specify the audience to request from the IDP token endpoint.

For more information about IDP authentication, see Identity Provider (IDP) Authentication.

Next step

Configure Git Repositories