pkcs

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: 16 Imported by: 2

Documentation

Index

Constants

View Source
const (
	PKCSProviderName = "PKCSProvider"
)

Variables

This section is empty.

Functions

func NewAWSPKCSCredentials

func NewAWSPKCSCredentials(cfg PKCSProvider) (*creds.Credentials, error)

Types

type PKCSProvider

type PKCSProvider struct {
	AssumeRoleInput      *stsschema.AssumeRoleInput
	PKCSSigner           *hmacsigner.PKCSSigner
	GetSessionTokenInput *stsschema.GetSessionTokenInput
	Version              string
	Region               string
	// contains filtered or unexported fields
}

func (*PKCSProvider) ExpiresAt

func (s *PKCSProvider) ExpiresAt() time.Time

func (*PKCSProvider) IsExpired

func (s *PKCSProvider) IsExpired() bool

func (*PKCSProvider) Retrieve

func (s *PKCSProvider) Retrieve() (creds.Value, error)

Directories

Path Synopsis
signer module

Jump to

Keyboard shortcuts

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