tpm

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 (
	TPMProviderName = "TPMProvider"
)

Variables

This section is empty.

Functions

func NewAWSTPMCredentials

func NewAWSTPMCredentials(cfg TPMProvider) (*creds.Credentials, error)

Types

type TPMProvider

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

func (*TPMProvider) ExpiresAt

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

func (*TPMProvider) IsExpired

func (s *TPMProvider) IsExpired() bool

func (*TPMProvider) Retrieve

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