---
title: Stored data credentials
description: How to add and manage securely stored credentials for reuse in accessing secure data sources.

---

# Stored data credentials {: #stored-data-credentials }

!!! info "Availability information"
     This feature is off by default for Self-Managed AI Platform users. To enable the feature, contact your system administrator or Support. It is enabled by default for managed AI Platform users.

Because there is often a need to access secure data sources, DataRobot provides an option to securely store associated credentials for reuse. This capability is particularly useful for automating workflows that require access to secure sources or when combining many tables and sources that would each otherwise require individual authentication. You can also remove stored credentials. You can manage all your stored credentials from the [**Credentials Management**](#credentials-management) page.


Application of stored credentials is available whenever you are prompted for them, such as when:

* [Creating a data source](#create-stored-credentials) from the [**Data Connections**](data-conn) page or testing connections.

* Using the [**Data Source**](import-to-dr#use-an-existing-data-source) option when beginning a project.

* Using a data source or S3 to make [batch predictions](../../api/reference/batch-prediction-api/index) via the API.

* Using a data connection to create a new dataset in the [**AI Catalog**](catalog#add-data-from-external-connections).

* Taking a [snapshot](catalog#create-a-snapshot) of a dataset in the **AI Catalog**.

* [Creating a project](catalog#create-a-project) from a dataset in the **AI Catalog**.

* Using the **AI Catalog** to select a prediction dataset using [**Make Predictions**](predict).

##  Credentials Management {: #credentials-management }

This section describes adding, editing, and removing credentials, as well as managing their associated data connections. To access this page, click on your user icon and navigate to the **Credentials Management** page.

###  Add new credentials {: #add-new-credentials }

From the **Credentials Management** page, click **+Add New**.

![](images/store-cred-4.png)

Enter a username and password, as well as an identifying label for the set (an account name), then click **Save and sign in**. The credential entry becomes available in the panel on the left.

![](images/store-cred-5.png)

Click **Add Associated connection** to add a data connection.

![](images/store-cred-6.png)

Select the data connection you would like associated to these credentials and click **Connect**.

![](images/store-cred-8.png)

###  Modify credentials {: #modify-credentials }

To remove a set of credentials, select the account name you would like to delete from the panel on the left.  Then, click **Delete** in the upper-right corner.

![](images/store-cred-11.png)

To edit credentials, select the account name you would like to edit from the panel on the left.

In the upper right corner, click **Edit Credentials** to modify the username, password, and/or account name.

Change the relevant fields and click **Save and sign in** to apply your changes. When you edit credentials, the credentials will be updated for all associated data connections.

![](images/store-cred-10.png)

###  Manage associated connections {: #manage-associated-connections }

When you select credentials, all associated data connections show up on the right.

![](images/store-cred-14.png)

From the **Credentials Management** page, you can add a new associated connection and remove an existing association. If you are removing all data connections for the associated credentials, you will receive a message prompting you to delete the credentials. You can decide to remove the credentials or leave them without any associated connections.

##  Managing credentials in Data Connections {: #managing-credentials-in-data-connections }

As an alternative to managing credentials from the **Credentials Management** page, you can also add and remove them from [Data Connections](data-conn) page. To access this page, click on your user icon and navigate to the **Data Connections**.

### Create stored credentials {: #create-stored-credentials }

Select your data connection and click **Test connection**.

![](images/store-cred-12.png)

Enter the new credentials and check **Securely save credentials**. Optionally, enter a n account name and click **Save and sign in**.

![](images/store-cred-1.png)

You can also click the **Credentials** and click **+Add New**.

![](images/store-cred-13.png)

###  Use stored credentials {: #use-stored-credentials }

Select the desired account. DataRobot immediately initiates the appropriate action (adding data to the **AI Catalog** from a data connection in this example):

![](images/store-cred-2.png)

To use different credentials, select **Use different account**.

### Remove stored credentials {: #remove-stored-credentials }

From the [**Data Connections**](data-conn) tab, select the connection with associated credentials, click the **Credentials** tab, and click **Remove association**.

![](images/store-cred-3.png)

!!! note
    You cannot edit stored credentials in the Data Connections tab. To edit stored credentials, go to [Credentials Management](#modify-credentials).
