hashicorp / go-secure-stdlib

Mozilla Public License 2.0
64 stars 24 forks source link

Allow plugins to be specified as direct file paths #36

Closed jefferai closed 2 years ago

jefferai commented 2 years ago

This contains two items:

  1. In pluginutil, allows a direct plugin path to be specified, along with a (required) checksum and (optional) hash method used to generate the checksum. This is via an option that then factors into building the plugin map, and some plugin launching changes to understand these types.
  2. In configutil, support for this new feature for KMS plugins. Additionally, the ability to specify this information within KMS blocks in HCL.

Tagging @jimlambrt for review, @calvn and @sgmiller mostly for heads-up.