Skip to main content

Crate vpg

Crate vpg 

Source
Expand description

Update Postgres credentials from Vault, rewrite pgpass & nvim-dbee, optionally launch pgcli.

ยงErrors

  • External command fails or file I/O fails.
  • JSON serialization/deserialization fails.
  • Environment variable missing or user interaction fails.

Modulesยง

nvim_dbee ๐Ÿ”’
pgpass ๐Ÿ”’
vault ๐Ÿ”’

Functionsยง

exec_vault_read_cmd ๐Ÿ”’
Executes the vault CLI to read a secret as JSON.
main ๐Ÿ”’
Update Postgres credentials from Vault, rewrite pgpass & nvim-dbee, optionally launch pgcli.