vaultui

package module
v0.0.0-...-2a61a69 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2026 License: MIT Imports: 14 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

vaultui

Go Reference

A terminal UI for managing vault entries.

Built with Bubble Tea and huh.

Install

go get github.com/bjaus/vaultui

Usage

package main

import (
    "log"

    "github.com/bjaus/vault"
    "github.com/bjaus/vault/keychain"
    "github.com/bjaus/vaultui"
)

func main() {
    v := vault.New(
        vault.WithStore(keychain.New()),
        vault.WithNamespace("prod"),
    )

    if err := vaultui.Run(v); err != nil {
        log.Fatal(err)
    }
}

Features

  • Browse entries with filtering
  • Add new entries
  • Edit existing entries
  • Delete entries with confirmation
  • Refresh from configured sources

Keybindings

Key Action
a Add a new entry
e / Enter Edit selected entry
d Delete selected entry
r Refresh from sources
/ Filter entries
q Quit

License

MIT

Documentation

Overview

Package vaultui provides a terminal UI for managing vault entries.

The TUI operates on a vault.Vault interface, supporting browsing, adding, editing, deleting, and refreshing entries from sources.

Launch it with Run:

err := vaultui.Run(myVault)

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(v vault.Vault) error

Run launches an interactive TUI for managing entries in the vault.

Types

This section is empty.

Directories

Path Synopsis
cmd
demo command
Command demo launches the vault TUI with sample data.
Command demo launches the vault TUI with sample data.

Jump to

Keyboard shortcuts

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