#!/usr/bin/env bash

case "$2" in
    "test/secret") echo "password123";;
    "test/multiline") printf "line1\nline2\nline3";;
    "test/missing") echo "Error: not found" >&2; exit 1;;
    *) echo "Error: unknown key $2" >&2; exit 1;;
esac
