Ghost — Content and Admin APIs
ghost/content · version 1
envs add ghost/content
This declares the keys below in your catalog and sets none of them. A template is a schema for keys; it never carries a value.
| Key | Needed | Kind | Notes |
|---|---|---|---|
GHOST_API_URL |
required | config | Your own Ghost install. An address. The name is convention: Ghost documents the credentials, not variables for them.. where to get it |
GHOST_CONTENT_API_KEY |
required | config | Ghost says these keys are safe for use in browsers and other insecure environments because they only ever reach public data. This is the clearest such statement in the registry.. where to get it |
GHOST_ADMIN_API_KEY |
optional | secret | Ghost says it must be kept private and is unsuitable for browsers, unlike the Content key. Documented as an id and a secret separated by a colon. Regenerating replaces it at once, so update callers first.. Shape ^[^:\s]+:[^:\s]+$. where to get it |