vault_jwt

package module
v0.0.0-...-79e5464 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2016 License: Apache-2.0 Imports: 7 Imported by: 2

README

vault-jwt-go

Sign and verify jwt(-go) tokens using the transit secret backend in Vault

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	VaultConfig *api.Config
	Path        string
	Token       string
	SSLEnabled  bool
}

type SigningMethodVault

type SigningMethodVault struct{}

func (*SigningMethodVault) Alg

func (s *SigningMethodVault) Alg() string

func (*SigningMethodVault) Sign

func (s *SigningMethodVault) Sign(signingString string, key interface{}) (string, error)

func (*SigningMethodVault) Verify

func (s *SigningMethodVault) Verify(signingString, signature string, key interface{}) error

Jump to

Keyboard shortcuts

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