terraform-provider-vault icon indicating copy to clipboard operation
terraform-provider-vault copied to clipboard

Add resource vault_scep_auth_backend_role to manage SCEP auth roles

Open victorr opened this issue 5 months ago • 0 comments
trafficstars

Description

Add new resource vault_scep_auth_backend_role to manage roles in the new SCEP auth backend.

The SCEP auth backend is necessary for the new Vault PKI support for the SCEP protocol.

Checklist

  • [x] Added CHANGELOG entry (only for user-facing changes)
  • [x] Acceptance tests where run against all supported Vault Versions

Output from acceptance testing:

❯ TF_ACC_ENTERPRISE=1 make testacc TESTARGS='-v -run=TestScep'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test -v -run=TestScep -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]
testing: warning: no tests to run
PASS
ok  	github.com/hashicorp/terraform-provider-vault/codegen	0.211s [no tests to run]
?   	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/framework/base	[no test files]
?   	github.com/hashicorp/terraform-provider-vault/internal/framework/client	[no test files]
?   	github.com/hashicorp/terraform-provider-vault/internal/framework/errutil	[no test files]
?   	github.com/hashicorp/terraform-provider-vault/internal/framework/model	[no test files]
testing: warning: no tests to run
PASS
ok  	github.com/hashicorp/terraform-provider-vault/internal/framework/validators	0.359s [no tests to run]
testing: warning: no tests to run
PASS
ok  	github.com/hashicorp/terraform-provider-vault/internal/identity/entity	0.458s [no tests to run]
?   	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]
testing: warning: no tests to run
PASS
ok  	github.com/hashicorp/terraform-provider-vault/internal/provider	0.405s [no tests to run]
?   	github.com/hashicorp/terraform-provider-vault/internal/provider/fwprovider	[no test files]
?   	github.com/hashicorp/terraform-provider-vault/internal/providertest	[no test files]
?   	github.com/hashicorp/terraform-provider-vault/internal/rotation	[no test files]
?   	github.com/hashicorp/terraform-provider-vault/internal/sync	[no test files]
testing: warning: no tests to run
PASS
ok  	github.com/hashicorp/terraform-provider-vault/internal/vault/secrets/ephemeral	0.433s [no tests to run]
testing: warning: no tests to run
PASS
ok  	github.com/hashicorp/terraform-provider-vault/internal/vault/sys	1.009s [no tests to run]
?   	github.com/hashicorp/terraform-provider-vault/schema	[no test files]
testing: warning: no tests to run
PASS
ok  	github.com/hashicorp/terraform-provider-vault/testutil	0.502s [no tests to run]
testing: warning: no tests to run
PASS
ok  	github.com/hashicorp/terraform-provider-vault/util	0.687s [no tests to run]
testing: warning: no tests to run
PASS
ok  	github.com/hashicorp/terraform-provider-vault/util/mountutil	0.286s [no tests to run]
=== RUN   TestScepAuthBackendRolesResource_static_challenge
    resource_scep_auth_backend_role_test.go:22: Vault server version "1.20.0+ent.hsm"
--- PASS: TestScepAuthBackendRolesResource_static_challenge (3.52s)
=== RUN   TestScepAuthBackendRolesResource_intune
    resource_scep_auth_backend_role_test.go:103: Vault server version "1.20.0+ent.hsm"
--- PASS: TestScepAuthBackendRolesResource_intune (2.56s)
PASS
ok  	github.com/hashicorp/terraform-provider-vault/vault	7.046s
...

Community Note

  • Please vote on this pull request by adding a 👍 reaction to the original pull request comment to help the community and maintainers prioritize this request
  • Please do not leave "+1" comments, they generate extra noise for pull request followers and do not help prioritize the request

victorr avatar May 27 '25 14:05 victorr