Skip to content

zhafacai/authinfo.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

authinfo.nvim

Lazy-load GPG-encrypted authinfo files.

Install

-- install
vim.pack.add({ { src = "https://github.com/zhafacai/authinfo.nvim" } })

Setup

-- setup
require("authinfo").setup()
-- optional: custom path
require("authinfo").setup({ path = "/path/to/authinfo.gpg" })

Usage

-- access secrets by key
local secret = AUTHINFO["api.opencode.ai"]["password"]

-- machine foo login bar password baz 
-- -> AUTHINFO["foo"] = { login = "bar", password = "baz" }

About

decrypt authinfo.gpg lazily in neovim

Topics

Resources

Stars

4 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages