Skip to content

CodeVerse-GP/backstage-api

Repository files navigation

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.

About

A CLI tool to interact with Backstage API

Topics

Resources

License

Stars

Watchers

Forks