Skip to content

PKI: extend revocation support - #1446

Merged
benashz merged 1 commit into
mainfrom
VAULT-4705/pki-extend-revocation-to-all
May 10, 2022
Merged

PKI: extend revocation support#1446
benashz merged 1 commit into
mainfrom
VAULT-4705/pki-extend-revocation-to-all

Conversation

@benashz

@benashz benashz commented May 10, 2022

Copy link
Copy Markdown
Collaborator

Other fixes:

  • de-duplicate PKI cert revoke tests
  • fix typos in PKI docs

Closes #1289

Output from acceptance testing:

$ time make testacc TESTARGS='-v -test.count 1 -test.run Test*Pki*'             

==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test -v -v -test.count 1 -test.run Test*Pki* -timeout 30m ./...

=== RUN   TestPkiSecretBackendCert_basic
--- PASS: TestPkiSecretBackendCert_basic (6.60s)
=== RUN   TestPkiSecretBackendCert_renew
--- PASS: TestPkiSecretBackendCert_renew (16.00s)
=== RUN   TestPkiSecretBackendConfigCA_basic
--- PASS: TestPkiSecretBackendConfigCA_basic (1.63s)
=== RUN   TestPkiSecretBackendConfigUrls_basic
--- PASS: TestPkiSecretBackendConfigUrls_basic (2.81s)
=== RUN   TestPkiSecretBackendCrlConfig_basic
--- PASS: TestPkiSecretBackendCrlConfig_basic (4.28s)
=== RUN   TestPkiSecretBackendIntermediateCertRequest_basic
--- PASS: TestPkiSecretBackendIntermediateCertRequest_basic (1.75s)
=== RUN   TestPkiSecretBackendIntermediateSetSigned_basic
--- PASS: TestPkiSecretBackendIntermediateSetSigned_basic (4.20s)
=== RUN   TestPkiSecretBackendRole_basic
--- PASS: TestPkiSecretBackendRole_basic (2.96s)
=== RUN   TestPkiSecretBackendRootCertificate_basic
--- PASS: TestPkiSecretBackendRootCertificate_basic (7.67s)
=== RUN   TestPkiSecretBackendRootSignIntermediate_basic_default
--- PASS: TestPkiSecretBackendRootSignIntermediate_basic_default (4.21s)
=== RUN   TestPkiSecretBackendRootSignIntermediate_basic_pem
--- PASS: TestPkiSecretBackendRootSignIntermediate_basic_pem (2.91s)
=== RUN   TestPkiSecretBackendRootSignIntermediate_basic_der
--- PASS: TestPkiSecretBackendRootSignIntermediate_basic_der (3.59s)
=== RUN   TestPkiSecretBackendRootSignIntermediate_basic_pem_bundle
--- PASS: TestPkiSecretBackendRootSignIntermediate_basic_pem_bundle (3.72s)
=== RUN   TestPkiSecretBackendRootSignIntermediate_basic_pem_bundle_multiple_intermediates
--- PASS: TestPkiSecretBackendRootSignIntermediate_basic_pem_bundle_multiple_intermediates (5.54s)
=== RUN   TestPkiSecretBackendSign_basic
--- PASS: TestPkiSecretBackendSign_basic (5.13s)
=== RUN   TestPkiSecretBackendSign_renew
--- PASS: TestPkiSecretBackendSign_renew (13.53s)
PASS
ok      github.com/hashicorp/terraform-provider-vault/vault     89.286s
make testacc TESTARGS='-v -test.count 1 -test.run Test*Pki*'  75.92s user 30.32s system 109% cpu 1:37.05 total

Other fixes:
- de-duplicate PKI cert revoke tests
- fix typos in PKI docs

@vinay-gopalan vinay-gopalan left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@benashz
benashz merged commit 198894b into main May 10, 2022
@benashz
benashz deleted the VAULT-4705/pki-extend-revocation-to-all branch May 10, 2022 21:38
@benashz benashz added this to the 3.6.0 milestone May 11, 2022
marcboudreau pushed a commit to marcboudreau/terraform-provider-vault that referenced this pull request Nov 6, 2022
Other fixes:
- de-duplicate PKI cert revoke tests
- fix typos in PKI docs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Intermediate CA signed by Vault must be revoked on destroy

2 participants