jwtvault

package
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 26, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetPublicKey

func GetPublicKey(vaultClient *api.Client, transitPath, keyName string) (publicKey interface{}, version uint, err error)

GetPublicKey returns parsed public key

func JWKS

func JWKS(vaultClient *api.Client, transitPath, keyName string) (*jose.JSONWebKeySet, error)

JWKS extracts the public key set from a vault transit key.

func Signer

func Signer(vaultClient *api.Client, transitPath, keyName string, publicKey interface{}) jose.OpaqueSigner

Signer returns an OpaqueSigner implementation where private key is handled by Vault.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL