package
1.56.0
Repository: https://github.com/onsdigital/dp-identity-api.git
Documentation: pkg.go.dev

# README

Import users & groups

Import users and groups to Cognito from S3.

Getting started

Run go run scripts/import_users/import_users.go

Dependencies

No further dependencies other than following configuration.

Configuration

Environment variableDescription
GROUPS_FILENAMEGroups S3 backup filename
GROUPUSERS_FILENAMEUser groups S3 backup filename
FILENAMEUser S3 backup filename
S3_BUCKETS3 bucket name
S3_BASE_DIRS3 backup DIR
S3_REGIONS3 region name
USER_POOL_IDCognito user pool id
MESSAGE_ACTIONSet to RESEND for existing user, keep empty for new user or set to SUPPRESS if you do not want to send any emails out to users
AWS_PROFILELocal aws profile for the environment (eg. dp-sandbox or dp-prod)

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author