-
Notifications
You must be signed in to change notification settings - Fork 556
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Do not panic on Vault PKI roles without the cn_validations field
- When we added support for the cn_validations field within PR1820 the code was tested against Vault versions 1.12 and higher. - If Vault is an earlier version than 1.12 TFVP will panic as we attempt to cast the missing field to an []interface{} value. - This fix hardens the parsing path for slice values within the PKI role parsing to properly extract out a []string value
- Loading branch information
1 parent
4b26c7a
commit 605f4f9
Showing
3 changed files
with
79 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters