tink

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: 1

Documentation

Index

Constants

View Source
const (
	TINKProviderName = "TINKProvider"
)

Variables

This section is empty.

Functions

func NewAWSTinkCredentials

func NewAWSTinkCredentials(cfg TINKProvider) (*creds.Credentials, error)

Types

type TINKProvider

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

func (*TINKProvider) ExpiresAt

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

func (*TINKProvider) IsExpired

func (s *TINKProvider) IsExpired() bool

func (*TINKProvider) Retrieve

func (s *TINKProvider) 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