Skip to content

Commit 42f1a61

Browse files
committed
Update documentation and default value of auth_path
1 parent 96bd2a4 commit 42f1a61

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

internal/provider/resource_tfe_vault_oidc_configuration.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,8 @@ func (r *resourceTFEVaultOIDCConfiguration) Schema(_ context.Context, _ resource
8686
},
8787
"auth_path": schema.StringAttribute{
8888
Description: `The mounting path of JWT auth path of JWT auth. Defaults to "jwt".`,
89-
Required: true,
89+
Optional: true,
90+
Computed: true,
9091
Default: stringdefault.StaticString("jwt"),
9192
},
9293
"encoded_cacert": schema.StringAttribute{

website/docs/r/vault_oidc_configuration.html.markdown

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ The following arguments are supported:
3333

3434
* `address` - (Required) The full address of your Vault instance.
3535
* `role_name` - (Required) The name of a role in your Vault JWT auth path, with permission to encrypt and decrypt with a Transit secrets engine key.
36-
* `namespace` - (Required) The mounting path of JWT auth path of JWT auth. Defaults to `"jwt"`.
37-
* `auth_path` - (Required) The Tenant (or Directory) ID of your Entra ID application.
36+
* `namespace` - (Required) The namespace your JWT auth path is mounted in.
37+
* `auth_path` - (Optional) The mounting path of JWT auth path of JWT auth. Defaults to `"jwt"`.
3838
* `encoded_cacert` - (Optional) A base64 encoded certificate which can be used to authenticate your Vault certificate. Only needed for self-hosted Vault Enterprise instances with a self-signed certificate.
3939
* `organization` - (Optional) Name of the organization. If omitted, organization must be defined in the provider config.
4040

0 commit comments

Comments
 (0)