ststokencredentials

package
v0.0.0-...-a60c734 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2021 License: BSD-2-Clause Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ProviderName = "SessionTokenProvider"
)

Variables

This section is empty.

Functions

func StdinTokenProvider

func StdinTokenProvider() (string, error)

Types

type StsTokenCredentials

type StsTokenCredentials struct {
	credentials.Expiry
	// contains filtered or unexported fields
}

func New

func New(p client.ConfigProvider, serialNumber string, tokenProvider func() (string, error)) *StsTokenCredentials

func (*StsTokenCredentials) Retrieve

func (s *StsTokenCredentials) Retrieve() (credentials.Value, error)

Jump to

Keyboard shortcuts

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