Links

Get an API key

How to get your API credentials
In your OneQode Cloud account, navigate to Cloud → API Users → Create a new API User
Enter the a name and optional description, then once created, download your OpenRC file

What does the OpenRC file do?

OpenStack credentials are stored in an .openrc file. It adds OpenStack’s connection settings into environment variables with a sh/bash-compatible script.
OpenRC will pre-authenticate all OpenStack commands and can also be used to authenticate with tools like Terraform.
# OCS OpenRC Example
export OS_PROJECT_DOMAIN_NAME=default
export OS_USER_DOMAIN_NAME=default
export OS_PROJECT_NAME=projectName
export OS_USERNAME=username
export OS_PASSWORD=password
export OS_AUTH_URL=https://api.ocs.oneqode.com:5000/v3/
export OS_IDENTITY_API_VERSION=3
export OS_IMAGE_API_VERSION=2