jwt

package
v0.0.0-...-3ce7580 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Load

func Load(secretPath string, implementation Strategy)

func LoadSecretFromServiceAPIHTTP

func LoadSecretFromServiceAPIHTTP(accountAPIAddress string) error

Types

type Secret

type Secret struct {
	KV    map[string]string `hcl:"kv"`
	ECDSA map[string]string `hcl:"ecdsa"`
	HMAC  map[string]string `hcl:"hmac"`
}

type Strategy

type Strategy string
const (
	STRATEGY_HCL_STDIN Strategy = "hcl-stdin"
	STRATEGY_GSM       Strategy = "gsm"
	STRATEGY_FLAG      Strategy = "hcl-flag"
)

Directories

Path Synopsis
kv
rsa

Jump to

Keyboard shortcuts

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