Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client provides an interface with interacting with AWS
func New ¶
func New(iamClient awsx.IAM, stsClient awsx.STS, role *v1alpha1.WorkloadIdentity, options *options.Options) (*Client, error)
New expects wrapped iam client, wrapped sts client, workload identity and returns them by packing them together
func (*Client) CreateOrUpdate ¶
func (i *Client) CreateOrUpdate(ctx context.Context) (*RoleStatus, error)
CreateOrUpdate creates or updates the IAM roles
type RoleStatus ¶
RoleStatus returns iam role information
Click to show internal directories.
Click to hide internal directories.