From bb308d992bb4843177db74e8ff980ea11c43bc97 Mon Sep 17 00:00:00 2001 From: update generated docs action Date: Mon, 15 Jan 2024 16:44:09 +0000 Subject: [PATCH] Update docs --- docs/data-sources/vault_oidc_credentials.md | 40 ++++++++++++++++ docs/resources/vault_oidc_credentials.md | 52 +++++++++++++++++++++ 2 files changed, 92 insertions(+) create mode 100644 docs/data-sources/vault_oidc_credentials.md create mode 100644 docs/resources/vault_oidc_credentials.md diff --git a/docs/data-sources/vault_oidc_credentials.md b/docs/data-sources/vault_oidc_credentials.md new file mode 100644 index 00000000..81b7078c --- /dev/null +++ b/docs/data-sources/vault_oidc_credentials.md @@ -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 + +### Optional + +- `id` (String) the id of the vault_oidc oidc credentials +- `name` (String) the name of the vault_oidc oidc credentials diff --git a/docs/resources/vault_oidc_credentials.md b/docs/resources/vault_oidc_credentials.md new file mode 100644 index 00000000..1aec5cd8 --- /dev/null +++ b/docs/resources/vault_oidc_credentials.md @@ -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 + +### 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" +```