Add an option to allow cert-auth to return metadata about client cert that fails login (#29044)

* Add an option to allow cert-auth to return metadata about client certs that fail login

* Add cl

* Update SPDX header for sdk/logical/response_test.go
This commit is contained in:
Steven Clark
2024-11-29 10:22:09 -05:00
committed by GitHub
parent e7d01654c2
commit 9bf3d115fc
9 changed files with 232 additions and 14 deletions

View File

@@ -367,6 +367,9 @@ Configuration options for the method.
that this cache is used for all configured certificates.
- `role_cache_size` `(int: 200)` - The size of the role cache. Use `-1` to disable
role caching.
- `enable_metadata_on_failures` `(boolean: false)` - If set, metadata of the client
certificate such as common name, serial, subject key id and authority key id will
be returned on authentication failures and appear in auditing records.
### Sample payload