Skip to content

Latest commit

 

History

History
48 lines (32 loc) · 1.12 KB

File metadata and controls

48 lines (32 loc) · 1.12 KB

Backstage API CLI

backstage-api is a command-line tool designed to simplify interactions with the Backstage API.

Installation

npm install -g backstage-api

Configuration

  1. 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
  1. To define url for your Backstage, set the BACKSTAGE_API_URL environment variable
export BACKSTAGE_API_URL="https://your-backstage-api-url.com/api"
  1. To authenticate commands, set the BACKSTAGE_API_KEY
export BACKSTAGE_API_KEY="your-backstage-api-key"

Backstage CLI manual

License

This project is licensed under the MIT License.

Support

  • Report bugs or search for existing feature requests in our issue tracker.