Skip to content

Commit

Permalink
docs: Update documentation on how to run client-credentails
Browse files Browse the repository at this point in the history
Closes #430
  • Loading branch information
shanedell committed Dec 2, 2024
1 parent c4c8b8b commit 846f10b
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions docs/man/auth/client-credentials.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,20 @@ in the OS keyring for future use.

## Examples

Authenticate with client credentials (id and secret provided interactively)

```shell
otdfctl auth client-credentials
```

Authenticate with client credentials (secret provided interactively)

```shell
otdfctl auth client-credentials --client-id <client-id>
otdfctl auth client-credentials <client-id>
```

Authenticate with client credentials (secret provided as argument)

```shell
otdfctl auth client-credentials --client-id <client-id> --client-secret <client-secret>
otdfctl auth client-credentials <client-id> <client-secret>
```

0 comments on commit 846f10b

Please sign in to comment.