Docs
Try Apollo Studio

Rover config commands

Create and manage configuration profiles


The Rover CLI enables you to create multiple configuration profiles, each of which corresponds to a different identity in Apollo Studio. Each configuration profile has an associated API key, which determines its permissions. You manage your configuration profiles with the rover config set of commands.

Displaying configuration profiles

config list

The config list command lists all of your stored configuration profiles:

rover config list
Profiles:
default
sso

config whoami

The config whoami command displays the details of your current active configuration profile:

rover config whoami
Checking identity of your API key against the registry.
Key Type: USER
User ID: gh.StephenBarlow
Origin: --profile default
API Key: user************************************abcd

Creating configuration profiles

config auth

You create a new configuration profile with the config auth command:

rover config auth
Go to https://studio.apollographql.com/user-settings/api-keys and create a new Personal API Key.
Copy the key and paste it into the prompt below.
>

By default, your configuration profile is saved with the name default. You can specify a different name with the --profile option:

rover config auth --profile sso

Deleting configuration profiles

config delete

The config delete command deletes a single configuration profile, specified by its name:

rover config delete sso
Successfully deleted profile "sso"

config clear

The config clear command deletes all of your stored configuration profiles:

rover config clear
Successfully cleared all configuration.
Edit on GitHub
Previous
Migrating from the Apollo CLI
Next
explain