Files
fn_registry/bash/functions/infra/keepass_set.md
T
egutierrez 750b7abcd5 chore: auto-commit (97 archivos)
- .claude/CLAUDE.md
- .claude/agents/fn-recopilador/SKILL.md
- .claude/rules/INDEX.md
- .claude/rules/cpp_apps.md
- bash/functions/infra/build_cpp_windows.sh
- cpp/CMakeLists.txt
- cpp/PATTERNS.md
- cpp/framework/app_base.cpp
- cpp/framework/app_base.h
- dev/issues/README.md
- ...

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-09 18:11:24 +02:00

1.2 KiB

name, kind, lang, domain, version, purity, signature, description, tags, uses_functions, uses_types, returns, returns_optional, error_type, imports, params, output, tested, tests, test_file_path, file_path
name kind lang domain version purity signature description tags uses_functions uses_types returns returns_optional error_type imports params output tested tests test_file_path file_path
keepass_set function bash infra 1.0.0 impure keepass_set(entry: string, password: string, username?: string, url?: string) Crea o sobreescribe una entry en el KeePassXC database. Auto-detecta si existe (edit) o no (add). Soporta username y url opcionales.
keepass
keepassxc
secret
credential
set
write
false error_go_core
name desc
entry path de la entry (ej. 'Servers/prod-mysql'); si el grupo no existe falla
name desc
password password en texto plano a almacenar
name desc
username username opcional
name desc
url url opcional
ninguno (exit 0 si OK) false
bash/functions/infra/keepass_set.sh

Ejemplo

source keepass_set.sh
keepass_set "Servers/prod-mysql" "secret123" "admin" "https://prod.example.com"

Notas

  • Add: keepassxc-cli add -p. Edit: keepassxc-cli edit -p.
  • Existencia detectada via show -q (exit code).
  • El grupo (parte antes del ultimo /) debe existir; KeePassXC no auto-crea jerarquia.