Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,28 @@ adapt whoami

If the machine has no browser, use `adapt auth login --no-browser`.

## Profiles

A profile stores an API URL, credentials, and a selected organization.
The default profile is `default`.

Sign in to another profile with `--profile`:

```sh
adapt --profile staging auth login --api-url https://platform.adaptstaging.com
```

To use a profile for every command in your shell, set `ADAPT_PROFILE`:

```sh
export ADAPT_PROFILE=staging
adapt whoami
```

The `--profile` option overrides `ADAPT_PROFILE`.
List saved profiles with `adapt profiles`.
For more information, see the [CLI reference](docs/cli-reference.md#profiles-and-api-urls).

## Use a temporary sandbox

Open a shell:
Expand Down
Loading