package
Version:
v0.0.1
Opens a new window with list of versions in this module.
Published: Feb 18, 2021
License: Apache-2.0
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
-
func GetPublicKey(vaultClient *api.Client, transitPath, keyName string) (interface{}, uint, error)
-
func JWKS(vaultClient *api.Client, transitPath, keyName string) (*jose.JSONWebKeySet, error)
-
func Signer(vaultClient *api.Client, transitPath, keyName string, publicKey interface{}) jose.OpaqueSigner
GetPublicKey returns parsed public key
JWKS extracts the public key set from a vault transit key.
func Signer(vaultClient *api.Client, transitPath, keyName string, publicKey interface{}) jose.OpaqueSigner
Signer returns an OpaqueSigner implementation where private key is handled by
Vault.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.