---
title: Changing default settings
description: Change the default settings of the machine learning (ML) service to obfuscate keys and passwords.
component: pingintelligence
version: 5.2
page_id: pingintelligence:installing_pingintelligence_for_apis:pingintelligence_machine_learning_service_default_settings
canonical_url: https://docs.pingidentity.com/pingintelligence/5.2/installing_pingintelligence_for_apis/pingintelligence_machine_learning_service_default_settings.html
revdate: April 3, 2024
section_ids:
  before-you-begin: Before you begin
  about-this-task: About this task
  steps: Steps
  result: Result:
---

# Changing default settings

Change the default settings of the machine learning (ML) service to obfuscate keys and passwords.

## Before you begin

Before creating a new `ml service` master key, stop the ML service with the following command:

```
/opt/pingidentity/ml_service/bin/stop.sh
```

## About this task

To change the default settings:

## Steps

1. To create your own `ml service` master key to obfuscate keys and passwords in the ML service, run the `generate_obfkey` command.

   ```
   /opt/pingidentity/ml_service/bin/cli.sh generate_obfkey
   ```

   ### Result:

   A master key is generated and written to the `/opt/pingidentity/ml_service/config/ml_master.key` file.
