Skip to content

Commit 22c7c68

Browse files
committed
added documentation about API token usage;
1 parent 32a9594 commit 22c7c68

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@
66
[![release](https://github.com/Myra-Security-GmbH/terraform-provider-myrasec/actions/workflows/release.yml/badge.svg?branch=v1.49.0)](https://github.com/Myra-Security-GmbH/terraform-provider-myrasec/actions/workflows/release.yml)
77
[![tests](https://github.com/Myra-Security-GmbH/terraform-provider-myrasec/actions/workflows/test.yml/badge.svg)](https://github.com/Myra-Security-GmbH/terraform-provider-myrasec/actions/workflows/test.yml)
88
## Documentation
9-
10-
- [How-to guide](https://github.com/Myra-Security-GmbH/terraform-provider-documentation)
119
- [Official documentation](https://registry.terraform.io/providers/Myra-Security-GmbH/myrasec/latest/docs)
1210

1311
## Requirements

docs/index.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,14 @@ provider "myrasec" {
2525
...
2626
```
2727

28+
In case you prefer to use the API token for authentication, you can use this token, too:
29+
```
30+
# Configure the Myra Security Provider
31+
provider "myrasec" {
32+
api_token = "${var.myra_api_token}"
33+
}
34+
```
35+
2836
## Variables
2937
Some attributes in the resources require specific values, therefore we created a list of variables that you can import to your terraform project:
3038
[Variable list](variables.md)

0 commit comments

Comments
 (0)