> ## Documentation Index
> Fetch the complete documentation index at: https://www.getmaxim.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Vault

> Learn how to set up vault in Maxim.

export const MaximPlayer = ({url}) => {
  return <iframe className="border-background-highlight-secondary h-full w-full rounded-md border-2 aspect-video" src={url} allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowFullScreen></iframe>;
};

Maxim supports vault to store sensitive information. You can store your API keys, passwords, and other sensitive information in the vault.

* Go to `Settings` → `Vault`.
* Click on `Add key`, give it a name, description (optional) and enter the value.
* Click on `Create`

<Note>
  Value of the key will be encrypted and stored securely. Once encrypted, it cannot be retrieved.
</Note>

<img src="https://mintcdn.com/maximai/fHnWe0mnvuD5228y/images/docs/settings/vault_setup.png?fit=max&auto=format&n=fHnWe0mnvuD5228y&q=85&s=de578091e3eb2ec28fb7e156120d7b52" alt="Vault Setup" width="2988" height="1706" data-path="images/docs/settings/vault_setup.png" />

You can then use the key using the `{{vault.key_name}}` syntax on the playground or if you want to access this using code, you can use <code>maxim.getVaultVariable</code> in the scripts of your agents, API evaluators etc. The video below shows how to use the vault variables in different ways on the platform.

<MaximPlayer url="https://www.youtube.com/embed/khm2m4fR4Pw" />
