hashicorp / terraform-provider-vault

Terraform Vault provider
https://www.terraform.io/docs/providers/vault/
Mozilla Public License 2.0
457 stars 536 forks source link

fix: 2107: Add missing schema fields and tests for ext_key_usage_oids #2108

Closed austin-laney closed 8 months ago

austin-laney commented 8 months ago

Description

Relates OR Closes #2107

Checklist

Output from acceptance testing:

$ terraform-provider-vault % VAULT_TOKEN="TEST" VAULT_ADDR='http://127.0.0.1:8200' make testacc TESTARGS='-run=TestPkiSecretBackendRole'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test -run=TestPkiSecretBackendRole -timeout 30m ./...
?       github.com/hashicorp/terraform-provider-vault   [no test files]
?       github.com/hashicorp/terraform-provider-vault/cmd/coverage      [no test files]
?       github.com/hashicorp/terraform-provider-vault/cmd/generate      [no test files]
?       github.com/hashicorp/terraform-provider-vault/helper    [no test files]
?       github.com/hashicorp/terraform-provider-vault/internal/consts   [no test files]
?       github.com/hashicorp/terraform-provider-vault/internal/identity/group   [no test files]
?       github.com/hashicorp/terraform-provider-vault/internal/identity/mfa     [no test files]
?       github.com/hashicorp/terraform-provider-vault/internal/pki      [no test files]
ok      github.com/hashicorp/terraform-provider-vault/codegen   (cached) [no tests to run]
ok      github.com/hashicorp/terraform-provider-vault/internal/identity/entity  (cached) [no tests to run]
?       github.com/hashicorp/terraform-provider-vault/schema    [no test files]
ok      github.com/hashicorp/terraform-provider-vault/internal/provider (cached) [no tests to run]
ok      github.com/hashicorp/terraform-provider-vault/testutil  (cached) [no tests to run]
ok      github.com/hashicorp/terraform-provider-vault/util      (cached) [no tests to run]
ok      github.com/hashicorp/terraform-provider-vault/vault     16.497s

Community Note

hashicorp-cla commented 8 months ago

CLA assistant check
All committers have signed the CLA.

austin-laney commented 8 months ago

Configuration including new ext_key_usage_oids attribute: Screenshot 2023-12-10 at 21 42 13

Proper configuration of role: Screenshot 2023-12-10 at 21 43 35

Added to list of extended key usage in generated certificate: Screenshot 2023-12-10 at 21 44 56