# DigitalOcean API Key Update

{% hint style="info" %}
DigitalOcean refer to the API key as: **Personal Access Token**
{% endhint %}

## Who is not affected?

Anyone that uses DigitalOcean with Launchpal that created a DO project before 18 April 2022 is probably affected.

If you dont use DigitalOcean to host your Launchpal projects - then you are not affected.

If you signed up after 18 April 2022, or added your first DigitalOcean hosted Project after this date, then you are probably already using the new api keys.

## What is changing?

The new tokens will now start with `dop_v1_`. **Old style tokens will stop working on 31 March 2023.**

Old style API tokens looked like this:\
`d0ef82cf18995f84a8fef52341049c774cf7041188f80e6cb842d23a235e846c`

The new style tokens look like this: \
`dop_v1_d0ef82cf18995f84a8fef52341049c774cf7041188f80e6cb842d23a235e846c`

## How do I check my api key?

The only way to check for sure is to try and create a new project using DigitalOcean after 31 March 2023. As we store API keys in encrypted form we can not tell who is using the old or new api keys.

Another option is to check if your api key was generated after April 2022.

Your api keys on DigitalOcean are listed here: [https://cloud.digitalocean.com/account/api/tokens](https://cloud.digitalocean.com/account/api/tokens?i=c82bcd)

<figure><img src="/files/ya3HhOJHwAWzPVYfpqaO" alt=""><figcaption><p>List of DO Tokens</p></figcaption></figure>

To see if a token is actively used by Launchpal - just start creating a project, select DigitalOcean, and wait till the locations show.

<figure><img src="/files/kdzi51C2SoSDkARBkvJf" alt=""><figcaption></figcaption></figure>

Then go back to your tokens list on DO and refresh the page.

The token used by Launchpal will show "Today" under last used.

<figure><img src="/files/65YM4F5arg8OsE1ByFMt" alt=""><figcaption></figcaption></figure>

## How do I update my key?

First [Generate a New Token](https://cloud.digitalocean.com/account/api/tokens?i=c82bcd) in DigitalOcean.

<figure><img src="/files/voV5pyxaSK0XlTff4HCM" alt=""><figcaption></figcaption></figure>

Give it a memorable name, and select an expiration time (you can set this to not expire if you want). Make sure you have write enabled.

<figure><img src="/files/22BeX0N5DRzye0XjyimA" alt=""><figcaption></figcaption></figure>

Then login to your launchpal account, click the drop down profile icon in the top right corner, and select My Account.

<figure><img src="/files/kwICeszBuZOKbEETbQW5" alt=""><figcaption></figcaption></figure>

Next click the "Change Access Key" link under Actions.

<figure><img src="/files/FQ5kbZDle9E8dCORoGMv" alt=""><figcaption></figcaption></figure>

And then copy/paste the new DO Token in the DigitalOcean tab and save.

<figure><img src="/files/xkssy6ht71ZKw6tCjLkR" alt=""><figcaption></figcaption></figure>

Now just test create a new DO project in Lauchpal to make sure the new token is working fine.

Your all set.

## What happens if I dont update the api key?

Noting will happen to your project - but you wont be able to launch new projects on DO or make changes to the underlying hardware (like scale up / down) until you have updated your token.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.launchpal.com/troubleshooting/digitalocean-api-key-update.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
