Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var CreatePasswordFlags []cli.Flag = []cli.Flag{ cli.StringFlag{ Name: "grpc-url, g", Value: "127.0.0.1:5557", Usage: "gRPC host and port", }, cli.StringFlag{ Name: "username, u", Required: true, }, cli.StringFlag{ Name: "hash, s", Usage: "bcrypt hash of the password: $(echo <password> | htpasswd -BinC 10 admin | cut -d: -f2)", Value: "$2a$10$2b2cU8CPhOTaGrs1HRQuAueS7JTT5ZHsHSzYiFPm1leZck7Mc8T4W", }, cli.StringFlag{ Name: "email, e", Required: true, }, cli.StringFlag{ Name: "id, i", Value: utils.RandUUIDFlag, }, }
View Source
var DeletePasswordFlags []cli.Flag = []cli.Flag{ cli.StringFlag{ Name: "grpc-url, g", Value: "127.0.0.1:5557", Usage: "gRPC host and port", }, }
View Source
var GetPasswordFlags []cli.Flag = []cli.Flag{ cli.StringFlag{ Name: "grpc-url, g", Value: "127.0.0.1:5557", Usage: "gRPC host and port", }, }
View Source
var ListPasswordFlags []cli.Flag = []cli.Flag{ cli.StringFlag{ Name: "grpc-url, g", Value: "127.0.0.1:5557", Usage: "gRPC host and port", }, }
View Source
var UpdatePasswordFlags []cli.Flag = []cli.Flag{ cli.StringFlag{ Name: "grpc-url, g", Value: "127.0.0.1:5557", Usage: "gRPC host and port", }, cli.StringFlag{ Name: "username, u", }, cli.StringFlag{ Name: "hash, s", Usage: "bcrypt hash of the password: $(echo <password> | htpasswd -BinC 10 admin | cut -d: -f2)", Value: "$2a$10$2b2cU8CPhOTaGrs1HRQuAueS7JTT5ZHsHSzYiFPm1leZck7Mc8T4W", }, }
View Source
var VerifyPasswordFlags []cli.Flag = []cli.Flag{ cli.StringFlag{ Name: "grpc-url, g", Value: "127.0.0.1:5557", Usage: "gRPC host and port", }, }
Functions ¶
func CreatePassword ¶
func DeletePassword ¶
func GetPassword ¶
func ListPassword ¶
func UpdatePassword ¶
func VerifyPassword ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.