awsiamuser

package
v0.1.0-beta4 Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2021 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

Types

type AWSIAMUser

type AWSIAMUser struct{}

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"`
	Client     IAMAccessKeyAPI
}

fromprovider.Operator

func (*Spec) Do

func (s *Spec) Do(ctx context.Context, dryRun bool) (_ secrets.Secrets, doErr error)

func (*Spec) Summary

func (s *Spec) Summary() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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