Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
update generated docs action committed Jan 15, 2024
1 parent ccb1e9a commit bb308d9
Show file tree
Hide file tree
Showing 2 changed files with 92 additions and 0 deletions.
40 changes: 40 additions & 0 deletions docs/data-sources/vault_oidc_credentials.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "env0_vault_oidc_credentials Data Source - terraform-provider-env0"
subcategory: ""
description: |-
---

# env0_vault_oidc_credentials (Data Source)



## Example Usage

```terraform
resource "env0_vault_oidc_credentials" "example" {
name = "example"
address = "http://fake1.com:80"
version = "version"
role_name = "role_name"
jwt_auth_backend_path = "path"
namespace = "namespace"
}
data "env0_vault_oidc_credentials" "by_id" {
id = env0_vault_oidc_credentials.example.id
}
data "env0_vault_oidc_credentials" "by_name" {
name = env0_vault_oidc_credentials.example.name
}
```

<!-- schema generated by tfplugindocs -->
## Schema

### Optional

- `id` (String) the id of the vault_oidc oidc credentials
- `name` (String) the name of the vault_oidc oidc credentials
52 changes: 52 additions & 0 deletions docs/resources/vault_oidc_credentials.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "env0_vault_oidc_credentials Resource - terraform-provider-env0"
subcategory: ""
description: |-
---

# env0_vault_oidc_credentials (Resource)



## Example Usage

```terraform
resource "env0_vault_oidc_credentials" "example" {
name = "example"
address = "http://fake1.com:80"
version = "version"
role_name = "role_name"
jwt_auth_backend_path = "path"
namespace = "namespace"
}
```

<!-- schema generated by tfplugindocs -->
## Schema

### Required

- `address` (String) the vault address, including port
- `jwt_auth_backend_path` (String) path to the new authentication method
- `name` (String) name for the oidc credentials
- `role_name` (String) the vault role name
- `version` (String) the vault version to use

### Optional

- `namespace` (String) an optional vault namespace

### Read-Only

- `id` (String) The ID of this resource.

## Import

Import is supported using the following syntax:

```shell
terraform import env0_vault_oidc_credentials.by_id d31a6b30-5f69-4d24-937c-22322754934e
terraform import env0_vault_oidc_credentials.by_name "credentials name"
```

0 comments on commit bb308d9

Please sign in to comment.