Skip to content

Commit

Permalink
use more specific URL for obtaining "Personal API Key" (#1202)
Browse files Browse the repository at this point in the history
  • Loading branch information
abernix authored Jul 29, 2022
1 parent b08c9eb commit d59cbb5
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
## 🛠 Maintenance
- **Link directly to API Keys page in Studio - @abernix, #1202**
The `rover config auth` command will now provide a link that takes you directly to the "API Keys" page where you can create a Personal API Key, rather than a page that requires you to click through to another page.
## 📚 Documentation -->

# [0.8.1] - 2022-07-28
Expand Down
2 changes: 1 addition & 1 deletion apollo.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// docs: https://www.apollographql.com/docs/devtools/editor-plugins/
// install: https://marketplace.visualstudio.com/items?itemName=apollographql.vscode-apollo
// to configure, you need a `.env` file in this directory containing an `APOLLO_KEY=your_api_key`
// that can be created at https://studio-staging.apollographql.com/user-settings
// that can be created at https://studio.apollographql.com/user-settings/api-keys

module.exports = {
client: {
Expand Down
2 changes: 1 addition & 1 deletion docs/source/commands/config.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ You create a new configuration profile with the `config auth` command:
```
rover config auth
Go to https://studio.apollographql.com/user-settings and create a new Personal API Key.
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.
>
```
Expand Down
2 changes: 1 addition & 1 deletion src/command/config/auth.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ fn api_key_prompt() -> Result<String> {
eprintln!(
"Go to {} and create a new Personal API Key.",
Cyan.normal()
.paint("https://studio.apollographql.com/user-settings")
.paint("https://studio.apollographql.com/user-settings/api-keys")
);

eprintln!("Copy the key and paste it into the prompt below.");
Expand Down

0 comments on commit d59cbb5

Please sign in to comment.