**Source URL:** https://general.veevavault.dev/clinical/vault-toolbox/intellij-plugin/guides/authentication

# Authenticating to Vault

There are two ways to authenticate to Vault using the Vault Toolbox plugin. From the Vault Toolbox plugin in IntelliJ IDEA, you can select one of the following authentication methods:

*   **Basic**: Prompts for the Vault DNS and a combination of your username and password.
*   **Session**: Prompts for the Vault DNS and an active session ID.

This guide explains how to log into Vault using either authentication method, how to save your Vault credentials to expedite the process for future logins, and log out of Vault Toolbox.

## Basic Login

A basic login uses your Vault user name and password.

To authenticate using basic login:

<Steps>
1.  In IntelliJ IDEA, open the Vault Toolbox plugin from the righthand sidebar.
2.  Select the **Vault Info** (<Icon name="ph:user" />) tab.
3.  Select the **Basic** tab.
4.  Enter your **Vault DNS**, **Username**, and **Password**. Alternatively, click <Icon name="ph:caret-down" /> to load a saved credential.
    
    <ThemeImage srcLight="/images/toolbox/intellij-plugin/plugin_login_basic_light.png" srcDark="/images/toolbox/intellij-plugin/plugin_login_basic_dark.png" alt="IntelliJ Plugin Basic Login" />
    
5.  Click **Login**. At the bottom of the panel, Vault Toolbox prompts you to save these credentials.
6.  Optional: Click **Yes** to save these credentials. Provide a **Credential label** and click **Save**.
</Steps>

## Session Login

Session login allows you to log into Vault Toolbox with an active session ID.

To log in using an active Vault session ID:

<Steps>
1.  In IntelliJ IDEA, open the Vault Toolbox plugin from the righthand sidebar.
2.  Select the **Vault Info** (<Icon name="ph:user" />) tab.
3.  Select the **Session** tab.
4.  Enter your **Vault DNS** and **Session ID**. Alternatively, click <Icon name="ph:caret-down" /> to load a saved credential.
    
    <ThemeImage srcLight="/images/toolbox/intellij-plugin/plugin_login_session_light.png" srcDark="/images/toolbox/intellij-plugin/plugin_login_session_dark.png" alt="IntelliJ Plugin Session Login" />
    
5.  Click **Login**. At the bottom of the panel, Vault Toolbox prompts you to save these credentials.
6.  Optional: Click **Yes** to save these credentials. Provide a **Credential label** and click **Save**.
</Steps>

## Logging Out

To log out of Vault Toolbox and end your session:

1.  In IntelliJ IDEA, open the Vault Toolbox plugin from the righthand sidebar.
2.  Select the **Vault Info** (<Icon name="ph:user" />) tab.
3.  Click <Icon name="ph:sign-out" /> at the bottom of the panel to log out.

---

**Previous:** [Guides](/clinical/vault-toolbox/intellij-plugin/guides)  
**Next:** [Working with Developer Logs](/clinical/vault-toolbox/intellij-plugin/guides/developer-logs)