Introduction
Problem
When running the following command:
vault read ssh/public_key
You receive the following error:
Error reading ssh/public_key: invalid character 's' looking for beginning of value
Cause
- This is a raw response endpoint without JSON encoding
Overview of possible solutions (if applicable)
Solutions:
-
use vault read -format=raw or an external tool (e.g., curl) to fetch this value.