arangodb-managed / oasisctl

Command line utility for accessing ArangoGraph Insights Platform (formerly called Oasis). The Managed Cloud for ArangoDB
https://cloud.arangodb.com
Apache License 2.0
1 stars 4 forks source link
arangodb arangodb-oasis commandline script

Oasisctl

ArangoGraph Insights Platform

Commandline utility for accessing ArangoGraph Insights Platform (formerly called Oasis).

This utility is used to access ArangoGraph Insights Platform resources (such as projects, deployments, certificates) without the needs for a graphical dashboard. It is often used in scripts.

Maintainers

This utility is maintained by the team at ArangoDB.

Installation

Downloading the latest released binaries, extract the zip archive and install the binary for your platform in your preferred location.

Or to build from source, run:

git clone https://github.com/arangodb-managed/oasisctl.git
make

Usage

oasisctl [command...]

A list of commands and options can be shown using:

oasisctl -h

Authentication

Oasisctl uses an authentication token to authenticate with the ArangoGraph Insights Platform.

To get such an authentication token, create an API key and run:

oasisctl login \
  --key-id=<your-key-id> \
  --key-secret=<your-key-secret>

The output is the authentication token. The most convenient use is to put it in an OASIS_TOKEN environment variable. In a script that can be done like this:

export OASIS_TOKEN=$(oasisctl login --key-id=<your-key-id> --key-secret=<your-key-secret>)

More information

More information and a getting started guide about Oasisctl is available at arangodb.com/docs/stable/arangograph.