Files
fn_registry/bash/functions/infra/pass_get.md
T
egutierrez b698177860 feat: funciones pass para gestión de secretos — get, set, list, delete, generate, sync
Wrappers Bash sobre pass (password-store) para CRUD de secretos, generación
de contraseñas y sincronización con git. Incluye script de test.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-02 22:03:44 +02:00

774 B

name, kind, lang, domain, version, purity, signature, description, tags, uses_functions, uses_types, returns, returns_optional, error_type, imports, 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 tested tests test_file_path file_path
pass_get function bash infra 1.0.0 impure pass_get(entry: string) -> string Lee un secreto del password store (pass) y lo imprime a stdout.
pass
secret
credential
get
false error_go_core
true
lee entrada existente
falla con entrada inexistente
bash/functions/infra/pass_test.sh bash/functions/infra/pass_get.sh

Ejemplo

source pass_get.sh
token=$(pass_get agentes/dataforge-token)
export GITEA_TOKEN="$token"

Notas

Usa pass show internamente. Requiere GPG key desbloqueada. No imprime newline final (usa printf %s).