backstage-api
is a command-line tool designed to simplify interactions with the Backstage API.
npm install -g backstage-api
- Add static token to your backend auth. More can be read here
backend:
auth:
externalAccess:
- type: static
options:
token: ${ADMIN_CURL_TOKEN}
subject: admin-curl-access
- To define url for your Backstage, set the BACKSTAGE_API_URL environment variable
export BACKSTAGE_API_URL="https://your-backstage-api-url.com/api"
- To authenticate commands, set the BACKSTAGE_API_KEY
export BACKSTAGE_API_KEY="your-backstage-api-key"
This project is licensed under the MIT License.
- Report bugs or search for existing feature requests in our issue tracker.