Skip to content
This repository has been archived by the owner on Apr 14, 2023. It is now read-only.

Commit

Permalink
Update ENGINE_API_KEY references in .md
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam Zionts committed May 14, 2020
1 parent 835a04c commit 5ab5446
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docs/source/devtools/editor-plugins.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ To authenticate with Graph Manager to pull down the schema, create a file next t
After the key is found, add the following line to the `.env` file:

```bash
ENGINE_API_KEY=<enter copied key here>
APOLLO_KEY=<enter copied key here>
```

After this is done, VS Code can be reloaded and the Apollo integration will connect to Graph Manager to provide autocomplete, validation, and more.
Expand Down
6 changes: 3 additions & 3 deletions docs/source/tutorial/production.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,16 @@ First, we need an Apollo Graph Manager API key. Navigate to [Apollo Graph Manage
Let's save our key as an environment variable. It's important to make sure we don't check our Graph Manager API key into version control. Go ahead and make a copy of the `.env.example` file located in `server/` and call it `.env`. Add your Graph Manager API key that you copied from the previous step to the file:

```bash:title=.env
ENGINE_API_KEY=service:<your-service-name>:<hash-from-apollo-engine>
APOLLO_KEY=service:<your-service-name>:<hash-from-apollo-engine>
```

The entry should basically look like this:

```bash:title=.env
ENGINE_API_KEY=service:my-service-439:E4VSTiXeFWaSSBgFWXOiSA
APOLLO_KEY=service:my-service-439:E4VSTiXeFWaSSBgFWXOiSA
```

Our key is now stored under the environment variable `ENGINE_API_KEY`.
Our key is now stored under the environment variable `APOLLO_KEY`.

### Check and publish with the Apollo CLI

Expand Down
2 changes: 1 addition & 1 deletion graph-manager-docs/source/github-integration.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
# commands against it
- run: sleep 5
# This will authenticate using the `ENGINE_API_KEY` environment
# This will authenticate using the `APOLLO_KEY` environment
# variable. If the GraphQL server is available elsewhere than
# http://localhost:4000/graphql, set it with `--endpoint=<URL>`.
- run: apollo service:check
Expand Down

0 comments on commit 5ab5446

Please sign in to comment.