aws

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2020 License: MPL-2.0 Imports: 16 Imported by: 1

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

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 added in v1.0.3

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
}

Jump to

Keyboard shortcuts

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