Skip to content

Conversation

@paigecalvert
Copy link
Contributor

@paigecalvert paigecalvert commented Nov 14, 2025

Main changes in the Installing the Replicated CLI page to explain all the different auth options: https://deploy-preview-3651--replicated-docs.netlify.app/reference/replicated-cli-installing#auth

Other related changes:

@paigecalvert paigecalvert requested a review from a team as a code owner November 14, 2025 20:45
@netlify
Copy link

netlify bot commented Nov 14, 2025

Deploy Preview for replicated-docs ready!

Name Link
🔨 Latest commit c5d32d1
🔍 Latest deploy log https://app.netlify.com/projects/replicated-docs/deploys/6917990e16fe310008ac04a1
😎 Deploy Preview https://deploy-preview-3651--replicated-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify
Copy link

netlify bot commented Nov 14, 2025

Deploy Preview for replicated-docs-upgrade ready!

Name Link
🔨 Latest commit c5d32d1
🔍 Latest deploy log https://app.netlify.com/projects/replicated-docs-upgrade/deploys/6917990ecc4c8500089d7d1d
😎 Deploy Preview https://deploy-preview-3651--replicated-docs-upgrade.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@replicated-ci replicated-ci added type::docs Improvements or additions to documentation type::feature labels Nov 14, 2025
@@ -1,3 +1,3 @@
:::note
The `replicated login` command creates a token after you log in to your vendor account in a browser and saves it to a config file. Alteratively, if you do not have access to a browser, you can set the `REPLICATED_API_TOKEN` environment variable to authenticate. For more information, see [(Optional) Set Environment Variables](/reference/replicated-cli-installing#env-var).
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed this second sentence, which implies that there are only two options (login or env var). Instead, this note can just explain what the login command does and not worry about listing the other auth options

:::

Installing in Docker environments requires that you set the `REPLICATED_API_TOKEN` environment variable to authorize the Replicated CLI with an API token. For more information, see [(Optional) Set Environment Variables](/reference/replicated-cli-installing#env-var).

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

^ moved this to a note in the procedure

Replace `TOKEN` with your API token.
1. To begin using the Replicated CLI to manage your applications, authenticate with your Replicated credentials. See [Authenticate](#auth).

For more information about the `docker run` command, see [docker run](https://docs.docker.com/engine/reference/commandline/run/) in the Docker documentation.
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

^ replaced this step with a link to the more detailed documentation on authenticating with the replicated cli


<AuthToken/>

1. <Logout/>
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

^ also replaced with link to detailed info about the different auth options

<InstallDocker/>

## (Optional) Set Environment Variables {#env-var}
## Authenticate {#auth}
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

^ update this page with an overview of the different authentication options: login, env var, profile

replicated app ls # Lists apps for company-b
```

For more information, see [replicated profile](/reference/replicated-cli-profile).
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

^ link to profile cli docs for more details

The Replicated CLI is the primary interface for the Replicated Platform. With the Replicated CLI, you can create and manage applications, releases, channels, customers, and more. You also use the Replicated CLI to create clusters with the Compatibility Matrix.

After installing, you can authorize the Replicated CLI by logging in to your Replicated vendor account through the `replicated login` command.
After installing, authorize the Replicated CLI using your Replicated credentials. See [Authenticate](#auth) in _Install the Replicated CLI_.
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

^ from the Set Up Your Environment page in the getting started docs, link to the info about auth rather than telling people to just use the login command

Before you create a release using the Replicated CLI, complete the following prerequisites:

* Install the Replicated CLI and then log in to authorize the CLI. See [Install the Replicated CLI](/reference/replicated-cli-installing).
* Install the Replicated CLI. See [Install the Replicated CLI](/reference/replicated-cli-installing).
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

^ update the prerequisite in Creating Releases With the CLI to link to all auth options

:::note
To remove a service account, select **Remove** for the service account that you want to delete.
:::
1. (Recommended) Add the token to a Replicated authentication profile. See [Authenticate](/reference/replicated-cli-installing#auth) in _Installing the Replicated CLI_.
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

^ in the how-to on generating API token from the Vendor Portal, add a step to recommend that people add their token to a profile

(This is an assumption on my part that this would be something we want to recommend)

* Directly on MacOS
* Directly on Linux
* Through Docker (Useful for Windows, GitHub Actions, or computers without sufficient access)
* On Windows Subsystem for Linux (WSL)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

^ this was missing from the list


* Directly on MacOS
* Directly on Linux
* Through Docker (Useful for Windows, GitHub Actions, or computers without sufficient access)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed "useful for windows" since we recommend WSL for windows users

@paigecalvert paigecalvert merged commit 87b8b48 into main Nov 14, 2025
5 checks passed
@paigecalvert paigecalvert deleted the replicated-cli-profile-docs branch November 14, 2025 22:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type::docs Improvements or additions to documentation type::feature

4 participants