mode51software / vaultplugin-hsmpki

The Vault HSM PKI plugin overlays the modifications to the builtin PKI plugin that enable support for certificate signing using a Hardware Security Module via PKCS#11.
https://www.vaultproject.io/docs/plugin-portal
Mozilla Public License 2.0
19 stars 6 forks source link

Implement better detection of whether in metadata mode or actual startup #13

Open mode51software opened 3 years ago

mode51software commented 3 years ago

https://groups.google.com/g/vault-tool/c/z6iaU_B159A/m/mJxly7qCCQAJ

https://github.com/hashicorp/vault/issues/8090

mode51software commented 3 years ago

https://github.com/hashicorp/vault/blob/master/sdk/framework/backend.go#L56

// InitializeFunc is the callback, which if set, will be invoked via
// Initialize() just after a plugin has been mounted.
InitializeFunc InitializeFunc