Skip to content
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

[Docs]: Added temporary ak/sk example auth for docs/index.md #2275

Merged
merged 4 commits into from Aug 22, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
30 changes: 29 additions & 1 deletion docs/index.md
Expand Up @@ -59,6 +59,19 @@ provider "opentelekomcloud" {
}
```

### Temporary AKSK

```hcl
provider "opentelekomcloud" {
access_key = var.access_key
secret_key = var.secret_key
security_token = var.security_token
domain_name = var.domain_name
tenant_name = var.tenant_name
auth_url = "https://iam.eu-de.otc.t-systems.com/v3"
}
```

### Token

```hcl
Expand Down Expand Up @@ -131,6 +144,21 @@ provider "opentelekomcloud" {
}
```

### Temporary AKSK

```hcl
provider "opentelekomcloud" {
agency_name = var.agency_name
agency_domain_name = var.agency_domain_name
delegated_project = var.delegated_project
access_key = var.access_key
secret_key = var.secret_key
security_token = var.security_token
domain_name = var.domain_name
auth_url = "https://iam.eu-de.otc.t-systems.com/v3"
}
```

#### Token

```hcl
Expand Down Expand Up @@ -200,7 +228,7 @@ The following arguments are supported:
band of Terraform. If omitted, the `OS_AUTH_TOKEN` or `OS_TOKEN` environment
variable is used.

* `security_token` - (Optional) Security token to use for OBS federated authentication.
* `security_token` - (Optional) Security token required to authenticate with temporary AK/SK.

* `passcode` - (Optional) One-time password provided by your authentication app.

Expand Down
5 changes: 5 additions & 0 deletions releasenotes/notes/index_temp_aksk-204bec3881e08151.yaml
@@ -0,0 +1,5 @@
---
other:
- |
**[Index]** Added authentication example for ``docs/index.md``
(`#2275 <https://github.com/opentelekomcloud/terraform-provider-opentelekomcloud/pull/2275>`_)