signer

package module
v0.0.0-...-b05f40b Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2023 License: Apache-2.0 Imports: 10 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type VaultConfig

type VaultConfig struct {
	VaultToken  string
	VaultPath   string
	VaultCAcert string
	VaultAddr   string
}

type VaultSigner

type VaultSigner struct {
	VaultConfig  VaultConfig
	AccessKeyID  string
	SessionToken string
	// contains filtered or unexported fields
}

func NewVaultSigner

func NewVaultSigner(cfg *VaultSignerConfig) (*VaultSigner, error)

func (*VaultSigner) MAC

func (ts *VaultSigner) MAC(msg []byte) ([]byte, error)

type VaultSignerConfig

type VaultSignerConfig struct {
	VaultConfig  VaultConfig
	AccessKeyID  string
	SessionToken string
}

Jump to

Keyboard shortcuts

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