Skip to content

Commit

Permalink
Tweak wording to say bearer-token rather than bear-token (#370)
Browse files Browse the repository at this point in the history
  • Loading branch information
JonJagger authored Dec 10, 2024
1 parent ead11b5 commit de247ce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs.kosli.com/content/getting_started/service-accounts.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ Personal API keys possess equivalent permissions to your user account, encompass

To create a personal API key:
- Login to Kosli
- From your user menu on the top right corner, click `Profile`
- From your user menu in the top right corner, click `Profile`
- In the API Keys section, click `Add API Key`, select a Time-To-Live (TTL) for the key, add a descriptive label, and then click `Add`
- Ensure to copy the generated key as it won't be retrievable later. This key serves as the authentication token.

Expand Down Expand Up @@ -70,7 +70,7 @@ you can assign an API key to any CLI command by one of the following options:

### In API

When making requests against the Kosli API directly (e.g. using curl), you can authenticate your requests using bear token. Set the bearer token in the request Authorization header to your API key.
When making requests against the Kosli API directly (e.g. using curl), you can authenticate your requests by setting the bearer token in the request Authorization header to your API key.

```shell
curl -H "Authorization: Bearer <<your-api-key>>" http://app.kosli.com/api/v2/environments/<<your-org-name>>
Expand Down

0 comments on commit de247ce

Please sign in to comment.