Documentation
¶
Overview ¶
Hashicorp Vault iteration of the PKCS11 interface from KMSv2 mockup example Author: [email protected] Apache 2.0 License
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidToken = &hVaultErr{StatusCode: 403, originalError: "invalid token"} ErrVaultSealed = &hVaultErr{StatusCode: 503, originalError: "Vault is sealed"} )
Pre-defined constant errors for specific conditions.
Functions ¶
func NewPKCS11RemoteService ¶
NewPKCS11RemoteService creates a new PKCS11 remote service with SoftHSMv2 configuration file and keyID
func StoreKeyTPM ¶
func StoreKeyTPM()
func TmpPlaceholder ¶
func TmpPlaceholder()
func WrapVaultError ¶ added in v1.2.0
WrapVaultError parses a raw Vault error string and wraps it in a structured hVaultErr. It uses regular expressions to extract key information.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.