Skip to content

Commit

Permalink
Add API key page
Browse files Browse the repository at this point in the history
  • Loading branch information
npentrel committed Jan 15, 2025
1 parent 325055e commit ac61e7b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
6 changes: 5 additions & 1 deletion static/include/app/apis/generated/app.md
Original file line number Diff line number Diff line change
Expand Up @@ -803,7 +803,11 @@ For more information, see the [Python SDK Docs](https://python.viam.dev/autoapi/

### GetRobotAPIKeys

<<<<<<< HEAD
Gets the [API keys](/operate/control/api-key/) for the machine.
=======
Gets the [API keys](/operate/control/api-keys/) for the machine.
>>>>>>> e7a4cb207 (Add API key page)
{{< tabs >}}
{{% tab name="Python" %}}
Expand Down Expand Up @@ -2140,7 +2144,7 @@ For more information, see the [Python SDK Docs](https://python.viam.dev/autoapi/

### CreateKey

Create a new [API key](/operate/control/api-key/).
Create a new [API key](/operate/control/api-keys/).

{{< tabs >}}
{{% tab name="Python" %}}
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Gets the [API keys](/operate/control/api-key/) for the machine.
Gets the [API keys](/operate/control/api-keys/) for the machine.
2 changes: 1 addition & 1 deletion static/include/program/authenticate.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ To authenticate yourself to your machine, you need

<!-- we will be releasing the ability to create API keys across all types of resources and combinations soon (i.e an API key can have an authorization on a org, location, machine or any combination of all three). this is correct for now though but it will be changing shortly. -->

To authenticate, [use a machine part API key](/operate/control/api-key/) or [an API key](/dev/tools/cli/#authenticate) with access to the machine.
To authenticate, [use a machine part API key](/operate/control/api-keys/) or [an API key](/dev/tools/cli/#authenticate) with access to the machine.
Copy and paste the API key ID and the API key into your environment variables or directly into the code:

{{< tabs >}}
Expand Down

0 comments on commit ac61e7b

Please sign in to comment.