Gallery
  • Introduction to Gallery
  • Getting Started
    • Link Your Cloud Provider
    • Create a Template
    • Build an Environment
  • Cloud Integrations
    • AWS
    • GCP
    • Other Cloud Providers
  • Gallery CLI
    • Setup
      • Installation
      • Authentication
  • Build System
    • Overview
    • Project Builds
      • Build Jobs
      • Build Stages
      • .gallery-deploy.yml Docs
    • Terraform
      • Variables
      • Mapping URLs/Configs
      • Using Cached Services
  • Cached Services
    • Overview
    • Defining Cached Services
  • Examples
    • Flask Elastic Beanstalk Quickstart
  • Resources
    • Environments
      • Managing your Environments
      • Environment Teardown
      • Environment Settings
Powered by GitBook
On this page

Was this helpful?

  1. Gallery CLI
  2. Setup

Authentication

PreviousInstallationNextOverview

Last updated 3 years ago

Was this helpful?

Gallery uses API token authentication to authorize with the CLI. More types of authentication (specifically Oauth) will be added shortly.

API Token Auth

Your API token is on the settings page of your Gallery account.

The API token authorizes you by user, and not by team, so your API token will be usable for any team you are a part of.

Then run the login command to authorize the CLI.

$ gallery auth login <token>
The Settings Page with the API Token