Skip to content

goeoeo/e3w

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

71 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

e3w

etcd v3 Web UI based on Golang && React, copy from consul ui :)

supporting hierarchy on etcd v3, based on e3ch

Overview

KEY/VALUE

MEMBERS

ROLES

USERS

SETTING

Usage

go get github.com/soyking/e3w

# frontend
cd static
npm install
npm run publish

# backend
# start etcd
# edit conf/config.default.ini
go build && ./e3w

# for auth
ETCDCTL_API=3 etcdctl auth enable
# edit conf/config.default.ini[app]#auth
./e3w
# you could set your username and password in SETTING page

Notice

  • When you want to add some permissions in directories to a user, the implement of hierarchy in e3ch requires you to set a directory's READ permission. For example, if role roleA has the permission of directory dir1/dir2, then it should have permissions:

     KV Read:
     	dir1/dir2
     	[dir1/dir2/, dir1/dir20) (prefix dir1/dir2/)
     KV Write:
     	[dir1/dir2/, dir1/dir20) (prefix dir1/dir2/)
    

    When userA was granted roleA, userA could open the by http://e3w-address.com/#/kv/dir1/dir2 to view and edit the key/value

About

etcd v3 Web UI

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 74.8%
  • Go 24.5%
  • Other 0.7%