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 listProfiles:defaultsso
config whoami
The config whoami
command displays the details of your current active configuration profile:
rover config whoamiChecking identity of your API key against the registry.Key Type: USERUser ID: gh.StephenBarlowOrigin: --profile defaultAPI Key: user************************************abcd
Creating configuration profiles
config auth
You create a new configuration profile with the config auth
command:
rover config authGo 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 ssoSuccessfully deleted profile "sso"
config clear
The config clear
command deletes all of your stored configuration profiles:
rover config clearSuccessfully cleared all configuration.