Documentation ¶
Index ¶
- func CreateAccessKey(ctx context.Context, api IAMAccessKeyAPI, input *iam.CreateAccessKeyInput) (*iam.CreateAccessKeyOutput, error)
- func DeleteAccessKey(ctx context.Context, api IAMAccessKeyAPI, input *iam.DeleteAccessKeyInput) (*iam.DeleteAccessKeyOutput, error)
- func ListAccessKeys(c context.Context, api IAMAccessKeyAPI, input *iam.ListAccessKeysInput) (*iam.ListAccessKeysOutput, error)
- type AWSIAMUser
- type IAMAccessKeyAPI
- type Spec
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateAccessKey ¶
func CreateAccessKey(ctx context.Context, api IAMAccessKeyAPI, input *iam.CreateAccessKeyInput) (*iam.CreateAccessKeyOutput, error)
func DeleteAccessKey ¶
func DeleteAccessKey(ctx context.Context, api IAMAccessKeyAPI, input *iam.DeleteAccessKeyInput) (*iam.DeleteAccessKeyOutput, error)
func ListAccessKeys ¶
func ListAccessKeys(c context.Context, api IAMAccessKeyAPI, input *iam.ListAccessKeysInput) (*iam.ListAccessKeysOutput, error)
Types ¶
type AWSIAMUser ¶
fromprovider.Provider
func (*AWSIAMUser) Name ¶
func (u *AWSIAMUser) Name() string
func (*AWSIAMUser) UnmarshalSpec ¶
func (u *AWSIAMUser) UnmarshalSpec(bytes []byte) (fromprovider.Operator, error)
type IAMAccessKeyAPI ¶
type IAMAccessKeyAPI interface { ListAccessKeys(ctx context.Context, params *iam.ListAccessKeysInput, optFns ...func(*iam.Options)) (*iam.ListAccessKeysOutput, error) CreateAccessKey(ctx context.Context, params *iam.CreateAccessKeyInput, optFns ...func(*iam.Options)) (*iam.CreateAccessKeyOutput, error) DeleteAccessKey(ctx context.Context, params *iam.DeleteAccessKeyInput, optFns ...func(*iam.Options)) (*iam.DeleteAccessKeyOutput, error) }
type Spec ¶
type Spec struct { AccountID string `yaml:"accountId" validate:"required"` Username string `yaml:"username" validate:"required"` Expiration string `yaml:"expiration"` ForceDeleteAllExpiredKeys bool `yaml:"forceDeleteAllExpiredKeys"` Client IAMAccessKeyAPI RateLimit ratelimit.Limiter }
fromprovider.Operator
Click to show internal directories.
Click to hide internal directories.