open-vault/sdk
John-Michael Faircloth f9541a1c96
pki: add subject key identifier to read key response (#20642)
* pki: add subject key identifier to read key response

This will be helpful for the Terraform Vault Provider to detect
migration of pre-1.11 exported keys (from CA generation) into post-1.11
Vault.

* add changelog

* Update builtin/logical/pki/path_fetch_keys.go

Co-authored-by: Alexander Scheel <alex.scheel@hashicorp.com>

* check for managed key first

* Validate the SKID matches on root CAs

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

* Validate SKID matches on int CAs

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

* Fix formatting of tests

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>
2023-05-18 16:49:22 +00:00
..
database adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
framework UI: remove references to comma separation for string array edit types (#20163) 2023-04-19 16:16:30 +00:00
helper pki: add subject key identifier to read key response (#20642) 2023-05-18 16:49:22 +00:00
logical report intermediate error messages during request forwarding (#20643) 2023-05-18 05:07:54 -07:00
physical adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
plugin Simplify tracking of external plugins (#20009) 2023-04-12 18:34:35 +01:00
queue adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
go.mod Add support for docker testclusters (#20247) 2023-04-24 14:25:50 -04:00
go.sum Add support for docker testclusters (#20247) 2023-04-24 14:25:50 -04:00
README.md Create sdk/ and api/ submodules (#6583) 2019-04-12 17:54:35 -04:00

Vault SDK libs

This package provides the sdk package which contains code useful for developing Vault plugins.

Although we try not to break functionality, we reserve the right to reorganize the code at will and may occasionally cause breaks if they are warranted. As such we expect the tag of this module will stay less than v1.0.0.

For any major changes we will try to give advance notice in the CHANGES section of Vault's CHANGELOG.md.