Skip to content

Commit

Permalink
Backport of Add tests for PKI endpoint authentication via OpenAPI int…
Browse files Browse the repository at this point in the history
…o release/1.11.x (#19711)

* Split (un,)authenticated issuer fetch endpoints

Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>

* Add tests to validate endpoint authentication status

Skipping most OpenAPI tests as fix on 1.13 wasn't backported.

See also: #18554

Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>

---------

Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
Co-authored-by: Alexander Scheel <alex.scheel@hashicorp.com>
  • Loading branch information
1 parent ab7cb07 commit 36709b9
Show file tree
Hide file tree
Showing 3 changed files with 436 additions and 2 deletions.
1 change: 1 addition & 0 deletions builtin/logical/pki/backend.go
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ func Backend(conf *logical.BackendConfig) *backend {
// Issuer APIs
pathListIssuers(&b),
pathGetIssuer(&b),
pathGetUnauthedIssuer(&b),
pathGetIssuerCRL(&b),
pathImportIssuer(&b),
pathIssuerIssue(&b),
Expand Down
Loading

0 comments on commit 36709b9

Please sign in to comment.