Prerequisites
- A way to receive email, to verify the account.
curlandjq, for the bearer-token example below.
Create an account
1
Sign up
Register at console.basaltic.sh.Signing up, verifying your email and setting up billing are console flows —
they are not part of the public API.
2
Verify your email
Registration sends a six-digit code. The account cannot create resources
until it is verified.
Issue API credentials
Your console login signs you in as a person. Programmatic access uses a service account and its access key instead. Create one in the console under Identity & access → Service accounts, or over the API:1
Create the service account
compute:ListInstances. Service accounts cannot
join groups. Organization access uses a separate organization policy grant.2
Create a credential on it
Make a request
Get a token, then send it as a bearer credential. That is the whole flow.200 with an empty
list — that is the call succeeding, not failing.
This is standard OAuth 2.0 client credentials, so any OAuth-aware HTTP library
will do it for you and refresh on its own. Your access key pair is the client
id and client secret.
Object storage uses the same key pair
The S3-compatible endpoint verifies AWS Signature Version 4, because that is what every S3 client speaks. Point one at the endpoint with the same access key pair — no token involved:Where to go next
Authentication
Bearer token exchange, personal sign-in, and temporary role credentials.
Regions and endpoints
Which host each service answers on.
API reference
Every operation, with schemas.
Support
When something is wrong and you need a person.

