creds

package
v0.0.0-...-9c1f2ee Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2016 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AwsCredentialGetter

type AwsCredentialGetter interface {
	GetCreds() (credentials.Value, error)
}

type ChainCredentialGetter

type ChainCredentialGetter struct {
	Credentials *credentials.Credentials
}

func NewChainCredentialGetter

func NewChainCredentialGetter() (*ChainCredentialGetter, error)

func (ChainCredentialGetter) GetCreds

func (c ChainCredentialGetter) GetCreds() (credentials.Value, error)

type StsCredentialGetter

type StsCredentialGetter struct {
	Credentials *sts.Credentials
	Config      *StsCredentialGetterConfig
	// contains filtered or unexported fields
}

func NewStsCredentialGetter

func NewStsCredentialGetter(config *StsCredentialGetterConfig) (*StsCredentialGetter, error)

func (*StsCredentialGetter) GetCreds

func (c *StsCredentialGetter) GetCreds() (credentials.Value, error)

type StsCredentialGetterConfig

type StsCredentialGetterConfig struct {
	Region  string
	Arn     string
	Session string
}

Jump to

Keyboard shortcuts

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