Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ControlPlane ¶
ControlPlane represents the AWS Control Plane Account
func (*ControlPlane) Assume ¶
func (c *ControlPlane) Assume() (*sts.AssumeRoleOutput, error)
Assume assumes a Control Plane Role and returns the assumed role credentials
func (*ControlPlane) GetDefaults ¶
func (c *ControlPlane) GetDefaults() error
GetDefaults will get ControlPlane default values from assumer config file
type Plane ¶
type Plane struct { AccountNumber string `min:"12" type:"string" required:"true"` RoleArn string `min:"20" type:"string" required:"true"` Region string }
Plane represents an AWS Account.
type TargetPlane ¶
type TargetPlane struct {
Plane
}
TargetPlane represents the AWS Target Plane Account
func (*TargetPlane) Assume ¶
func (t *TargetPlane) Assume(c *sts.AssumeRoleOutput) (*sts.AssumeRoleOutput, error)
Assume assumes a role in the target account and returns the assumed role creds
func (*TargetPlane) GetDefaults ¶
func (t *TargetPlane) GetDefaults() error
GetDefaults will get TargetPlane default values from assumer config file
Click to show internal directories.
Click to hide internal directories.