zut.secret.get_password_or_secret

zut.secret.get_password_or_secret(spec: str | Secret) str | Secret

Return a Secret reference if spec starts with secret:, or the value itself otherwise.