# Enabling the basic authentication

You can overwrite the default username and password used by microservice build artifact.

However, if you have applied the 801-R2022-09 patch for your Studio, the basic authentication is always active by default for the following management endpoints: info, health and jolokia. In this situation, ignore this section but follow the [Configuring Remote Engine for the basic authentication with microservice build artifact](https://help.qlik.com/talend/en-US/remote-engine-user-guide-linux/Cloud/configure-re-for-microservice-build-artifact-security "Configure the Remote Engine to authenticate with a microservice build artifact for secure access and metrics collection.") procedure to configure your Remote Engine.

## Before you begin

* You have created a custom application.properties file allowing HTTPS connections.
* You have renamed and saved it in a directory accessible to Talend Remote Engine.

## Procedure

1. Open the custom properties file.
2. Add the following command lines:
   ```
   security.user.name=${MS_SECURITY_USER_NAME:#{null}}
   security.user.password=${MS_SECURITY_USER_PASSWORD:#{null}}
   ```
3. Save the file.

   When the custom properties file is saved, you must enable basic authentication in the component used for the connection.

   Information noteNote: You can use the following components:
   * cREST
   * tRESTRequest
4. On the machine where your engine is running, define the following environment variables:
   ```
   MS_SECURITY_USER_NAME
   MS_SECURITY_USER_PASSWORD
   ```
5. Go to Talend Studio.
6. In the Basic Settings tab of the component properties, select the Use Authentication check box.