Skip to content

Commit 09ee67e

Browse files
authored
feat(guides): add auth guide (#5)
* fix(readme): update it and mark as beta * add cloud link * readme update * feat(guides): add auth guide
1 parent fa35957 commit 09ee67e

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

docs/guides/auth.md

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# Authentication Guide
2+
3+
Visit [dragonflydb.cloud](https://dragonflydb.cloud) and generate an API key with the required permissions. Then set the following environment variable before using the Terraform provider:
4+
5+
```bash
6+
export DFCLOUD_API_KEY=<YOUR_API_KEY>
7+
```
8+
9+
The same API key can also be set in the provider configuration block in the Terraform configuration file:
10+
11+
```hcl
12+
provider "dfcloud" {
13+
api_key = "<YOUR_API_KEY>"
14+
}
15+
```

0 commit comments

Comments
 (0)