Skip to content

Fix client auth config #5

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Update env variable names
  • Loading branch information
rbrt-sln authored Jun 14, 2024
commit 6709e84e9cf9d1eea73be462f325d4f5b4707d29
2 changes: 1 addition & 1 deletion 001-quickstart/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import gremlin from 'gremlin'
// </imports>

// <environment_variables>
const accountName = process.env.COSMOS_GREMLIN_ENDPOINT
const accountName = process.env.COSMOS_GREMLIN_ACCOUNT_NAME
const accountKey = process.env.COSMOS_GREMLIN_KEY
// </environment_variables>

Expand Down
4 changes: 2 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ This repo has a [devcontainer](https://containers.dev) environment making it eas
Configure your Azure Cosmos DB credentials as environment variables.

```bash
export COSMOS_ENDPOINT="<cosmos-account-URI>"
export COSMOS_KEY="<cosmos-account-PRIMARY-KEY>"
export COSMOS_GREMLIN_ACCOUNT_NAME="<cosmos-account-NAME>"
export COSMOS_GREMLIN_KEY="<cosmos-account-PRIMARY-KEY>"
```

> **💡 TIP**: If you don't have an Azure Cosmos DB account, [create a free account](https://cosmos.azure.com/try/).
Expand Down