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
Click to show internal directories.
Click to hide internal directories.