Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesW1 authored Sep 10, 2024
1 parent d007872 commit 2e2e490
Showing 1 changed file with 18 additions and 4 deletions.
22 changes: 18 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,26 @@ To run the CLI you will need to provide the Conduktor Console URL and an API acc

### Configure

To use Conduktor CLI, you need to define 2 environment variables:
- The URL of Conduktor Console
- Your API token (either a User Token or Application Token). You can generate an API token on `/settings/public-api-keys` page of your Console instance.
To use Conduktor CLI, you need to:

**Define 2 environment variables for Console**:
- The URL of Conduktor Console
- Your API token (either a User Token or Application Token). You can generate an API token on `/settings/public-api-keys` page of your Console instance.
````yaml
CDK_BASE_URL=http://localhost:8080
CDK_API_KEY=<admin-token>
````

**Define 3 environment variables for Gateway**:
- The URL of the Conduktor Gateway API
- Your Gateway User for the API
- Your Gatway Password for the API
````yaml
export CDK_GATEWAY_BASE_URL=http://localhost:8888
export CDK_GATEWAY_USER=admin
export CDK_GATEWAY_PASSWORD=conduktor
````

### Commands Usage
````
You need to define the CDK_API_KEY and CDK_BASE_URL environment variables to use this tool.
Expand Down Expand Up @@ -71,7 +83,9 @@ Flags:
Use "conduktor [command] --help" for more information about a command.
````

You can find more usage details on our [documentation](https://docs.conduktor.io/platform/reference/cli-reference/)
You can find more usage details on our:
- [Console CLI documentation](https://docs.conduktor.io/platform/reference/cli-reference/)
- [Gateway CLI documentation](https://docs.conduktor.io/gateway/reference/cli-reference/)


#### How to use behind teleport
Expand Down

0 comments on commit 2e2e490

Please sign in to comment.