provider

package
v0.0.0-...-3ac0d25 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAssumeProvider

func NewAssumeProvider(account string, config *schema.Config, creds *credentials.Credentials) *lguctlProvider

Types

type DefaultProvider

type DefaultProvider struct {
	Account         string
	AccessKeyID     string
	SecretAccessKey string
}

func NewDefaultProvider

func NewDefaultProvider(account, accessKeyID, secretAccessKey string) *DefaultProvider

NewDefaultProvider returns credentials

func (*DefaultProvider) IsExpired

func (d *DefaultProvider) IsExpired() bool

func (*DefaultProvider) Retrieve

func (d *DefaultProvider) Retrieve() (val credentials.Value, err error)

Jump to

Keyboard shortcuts

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