Skip to content

Commit

Permalink
Merge branch 'current' into mwong-add-403-faq
Browse files Browse the repository at this point in the history
  • Loading branch information
mirnawong1 authored Nov 28, 2023
2 parents 6201009 + a6bb2f8 commit d072540
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 5 deletions.
22 changes: 22 additions & 0 deletions website/docs/faqs/API/rotate-token.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,24 @@ id: rotate-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.

<Tabs>

<TabItem value="Automatic">

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`.

<Lightbox src="/img/docs/dbt-cloud/rotate-token.png" title="Click the rotate button to generate a new key" />

</TabItem>

<TabItem value="Manual">

1. Rotate your [User API token](/docs/dbt-cloud-apis/user-tokens) by replacing `YOUR_USER_ID`, `YOUR_CURRENT_TOKEN`, and `YOUR_ACCESS_URL `with your information in the following request.

```
Expand Down Expand Up @@ -41,3 +59,7 @@ For example, if your deployment is Virtual Private dbt:

`http://cloud.customizedurl.getdbt.com/` <br />
`http://cloud.getdbt.com/`<br />

</TabItem>

</Tabs>
6 changes: 1 addition & 5 deletions website/snippets/_cloud-environments-info.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,7 @@ By default, all environments will use the default branch in your repository (usu
For more info, check out this [FAQ page on this topic](/faqs/Environments/custom-branch-settings)!


### Extended attributes (Beta)

:::important This feature is currently in beta
Extended Attributes is currently in [beta](/docs/dbt-versions/product-lifecycles?) for select users and is subject to change.
:::
### Extended attributes <Lifecycle status='beta'/>

:::note
Extended attributes are retrieved and applied only at runtime when `profiles.yml` is requested for a specific Cloud run. Extended attributes are currently _not_ taken into consideration for Cloud-specific features such as PrivateLink or SSH Tunneling that do not rely on `profiles.yml` values.
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit d072540

Please sign in to comment.