README

AWS module

$ userplex aws --help
NAME:
   userplex aws - Operations within AWS

USAGE:
   userplex aws command [command options] [arguments...]

COMMANDS:
   create  Create user
   reset   Reset user credentials
   delete  Delete user
   sync    Run sync operation
   verify  Verify users against Person API. Outputs report, use `sync` to fix discrepancies.

OPTIONS:
   --help, -h  show help
Expand ▾ Collapse ▴

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AWSModule

type AWSModule struct {
	*modules.BaseModule
	// contains filtered or unexported fields
}

func New

func New(c modules.AWSConfiguration, notificationsConfig notifications.Config, PersonClient *person_api.Client) *AWSModule

func (*AWSModule) Create

func (awsm *AWSModule) Create(username string, person *person_api.Person) error

func (*AWSModule) Delete

func (awsm *AWSModule) Delete(username string) error

func (*AWSModule) ModuleName

func (awsm *AWSModule) ModuleName() string

func (*AWSModule) NewFromInterface

func (awsm *AWSModule) NewFromInterface(config modules.Configuration, notificationsConfig notifications.Config, PersonClient *person_api.Client) modules.Module

func (*AWSModule) Reset

func (awsm *AWSModule) Reset(username string, person *person_api.Person) error

func (*AWSModule) Sync

func (awsm *AWSModule) Sync() error

func (*AWSModule) Verify

func (awsm *AWSModule) Verify() error

type VerifyResult

type VerifyResult struct {
	AWSUsername string
	NotInLDAP   bool
	ExtraGroups bool
}

Source Files