The highest tagged major version is
v2 .
Discover Packages
github.com/ONSdigital/dp-identity-api
scripts
import_users
command
Version:
v1.57.0
Opens a new window with list of versions in this module.
Published: Oct 24, 2024
License: MIT
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: ? modules, 0 packages
The first number is the count of modules that contain a package that imports this one.
The module count is a better indicator of popularity than the package count.
A module with 100 importing packages is counted only once instead of 100 times,
reflecting the fact that the choice to use the package was likely made only once,
not 100 times.
A '?' means that the value hasn't been computed yet.
Opens a new window with list of known importers.
README
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 variable
Description
GROUPS_FILENAME
Groups S3 backup filename
GROUPUSERS_FILENAME
User groups S3 backup filename
FILENAME
User S3 backup filename
S3_BUCKET
S3 bucket name
S3_BASE_DIR
S3 backup DIR
S3_REGION
S3 region name
USER_POOL_ID
Cognito user pool id
MESSAGE_ACTION
Set 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_PROFILE
Local aws profile for the environment (eg. dp-sandbox or dp-prod)
Expand ▾
Collapse ▴
Documentation
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.