credmgr

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2019 License: CC0-1.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 CredMgr

type CredMgr struct {
	// contains filtered or unexported fields
}

CredMgr ... stores credentials for each *organizations.Account provided to New

func New

func New(cfg *session.Session, mgmtAccount string, tenantRoleName string, accounts []*organizations.Account) *CredMgr

New ... returns a *CredMgr after creating new *credential.Credential for all *organization.Account provided

func (*CredMgr) Cred

func (mgr *CredMgr) Cred(account string) (*credentials.Credentials, error)

Cred ... returns the *credential.Credential for the account name provided, if found

Jump to

Keyboard shortcuts

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