Skip to main content

How can I rotate my user API token?

For security reasons and best practices, you should aim to rotate API keys every so often.

You can rotate your API key automatically with the push of a button in your dbt Cloud environment or manually using the command line.

To automatically rotate your API key:

  1. Navigate to the Account settings by clicking the gear icon in the top right of your dbt Cloud account.
  2. Select API Access from the lefthand side.
  3. In the API pane, click Rotate.
Click the rotate button to generate a new keyClick the rotate button to generate a new key