Get an API key
Learn how to create an API user and download your OpenRC file
Last updated: 1/23/2026
In your OneQode Cloud account, navigate to Cloud → API Users → Create a new API User
Enter 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