user-vault

module
v0.0.11-beta.1 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2024 License: Apache-2.0

README

user-vault

User management service written in Go

This project internally uses miso and gocommon.

Dependencies

  • MySQL
  • Redis
  • RabbitMQ
  • Consul
  • GoAuth

Prometheus Metrics

  • user_vault_token_exchange_duration: histogram, used to monitor the duration of each token exchange, time is measured in milliseconds.
  • user_vault_fetch_user_info_duration: histogram, used to monitor the duration of each user info fetching, time is measured in milliseconds.
The First Admin User
-- username: admin
-- password: 123456, generated with sha256(password + salt)
-- role: Super Administrator (see goauth)
insert into user_vault.user (username, password, salt, review_status, user_no, role_no) values ('admin', '958d51602bbfbd18b2a084ba848a827c29952bfef170c936419b0922994c0589', '123456', 'APPROVED', 'UE1049787455160320075953', 'role_554107924873216177918');

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

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