Skip to content

Platform / Overview

Ways to access Origin Cloud

Updated · 2 min read

Reach Origin Cloud through the console, the origin CLI or the GraphQL API. All three act as a signed-in user or service account with the same permissions.

On this page4 sections

You work with Origin Cloud through the console, the origin CLI or the GraphQL API. All three talk to the same API and act as you, so they see the same organizations and are bound by the same roles. A change you make in one shows up in the others.

The following list shows how a person and an automated job reach the GraphQL API, and with which credential.

  • Person: signs in on the login page, through the console or the origin CLI, which get an access token for the GraphQL API.
  • Automated job: uses client credentials to get an access token for the GraphQL API.

Key concepts

ConceptWhat it is
Login pageWhere people authenticate, with whatever sign-in methods your account has, including a second factor. Neither the console nor the CLI sees your password. See Use the CLI.
Access tokenA short-lived bearer token that every API request carries in its Authorization header. The CLI gets and renews one for you. See Use the GraphQL API.
Service accountA credential for automation, such as CI jobs and scripts, that authenticates as itself rather than as a person. See Service accounts.
Resource URNThe identifier the API and the CLI use for every resource. See Use the GraphQL API.

Compare the access methods

MethodBest forAuthenticates as
ConsoleWorking in a browserA person
origin CLIInteractive work in a terminal and simple scriptsA person
GraphQL APIAutomation, integrations, and anything the CLI doesn’t coverA person or a service account

The CLI covers organizations, projects, compute, storage, network and IAM. Some operations exist only in the API, among them billing accounts and payment methods, quotas, metrics and the audit log.

What you can do