bank-user-manager

command
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2020 License: MIT Imports: 6 Imported by: 0

README

BankUserManagement

This tool imports user and credential from file into database Logins and passwords are hashed before storing.

New users are created. Credentials are override for existing user (depending on hash_seed flag or $PasswordHashSeed env)

Usage

From file:

	go run go run api/cmd/bank-user-manager/main.go --userFile=<userfile> 

From Stdin:

	go run go run api/cmd/bank-user-manager/main.go < <userfile>

Userfile format

<login>:<password>:<valid_email>:roles[](admin,user)
```

## Roles

Roles are liste of named roles allowing access control to ressources.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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