hashicorp / vault-plugin-secrets-azure

Vault Azure Secrets plugin
Mozilla Public License 2.0
26 stars 19 forks source link

Adds test coverage for service principal group assignment #157

Closed austingebauer closed 1 year ago

austingebauer commented 1 year ago

Overview

This PR adds acceptance test coverage for service principal group assignment. The group is provisioned through the Terraform bootstrap and provided to the test via an environment variable.

Related PR:

Testing

$ make setup-env
$ source ./bootstrap/terraform/local_environment_setup.sh
$ make testacc
==> Checking that code complies with gofmt requirements...
go generate 
VAULT_ACC=1 go test -tags='vault-plugin-secrets-azure' $(go list ./... | grep -v /vendor/)  -timeout 45m
?       github.com/hashicorp/vault-plugin-secrets-azure/api     [no test files]
?       github.com/hashicorp/vault-plugin-secrets-azure/cmd/vault-plugin-secrets-azure  [no test files]
ok      github.com/hashicorp/vault-plugin-secrets-azure 61.648s