kms

package
v0.22.3 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2025 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Overview

Package kms creates a signer using a key management server

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Signer

type Signer struct {
	signature.SignerVerifier
}

Signer exposes methods to sign payloads using a KMS

func NewSigner

func NewSigner(ctx context.Context, cfg config.KMSSigner) (*Signer, error)

NewSigner returns a configured Signer

func (*Signer) Cert added in v0.3.0

func (s *Signer) Cert() string

Cert there is no cert, return nothing

func (*Signer) Chain added in v0.3.0

func (s *Signer) Chain() string

Chain there is no chain, return nothing

func (*Signer) Type

func (s *Signer) Type() string

Type returns the type of the signer

Jump to

Keyboard shortcuts

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