Skip to content

SimplifyNet/etcd-terminal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

etcd-terminal

etcd-terminal — a console client for etcd v3+ with a convenient TUI based on Spectre.Console.

Features

Connection management

  • Support for multiple etcd instances with switching on startup
  • SSL/TLS and non-secure (HTTP) connections
  • Login/password authentication for secured instances
  • Configuration from ~/.config/etcd-terminal/config.json

Key operations (CRUD)

  • Browse — key overview with prefix-based navigation (Tree view)
  • Search — global search across keys and their values (text is searched in both key names and values)
  • Create — add new keys
  • Edit — modify existing key values
  • Delete — delete keys with confirmation

User and role management (RBAC)

  • Users — list, create, delete, change password
  • Roles — list, create, delete
  • Role assignment — grant/revoke roles to/from users
  • Permissions — view permissions bound to roles (read, write, readwrite)
  • Access grants — assign/revoke key permissions for roles
  • Info — view the full picture: which users have which roles and their permissions

Configuration

Configuration files are stored at ~/.config/etcd-terminal/config.json.

Example configuration:

{
  "Instances": [
    {
      "Name": "Local etcd",
      "ConnectionString": "http://localhost:2379",
      "UseSsl": false
    },
    {
      "Name": "Production cluster",
      "ConnectionString": "https://etcd.example.com:2379",
      "UseSsl": true,
      "Username": "admin",
      "Password": "secret"
    }
  ]
}

Building

Requires .NET 10.0 SDK.

dotnet build src/EtcdTerminal.slnx

Running the App

From source

dotnet run --project src/EtcdTerminal.App/EtcdTerminal.App.csproj

Published binary

Create a self-contained deployment:

dotnet publish src/EtcdTerminal.App/EtcdTerminal.App.csproj -c Release --self-contained false -o out

Run the published binary:

./out/etcd-terminal

About

A TUI based modern etcd client application

Resources

License

Stars

1 star

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages