Create a personal access token
1
Open account settings
Sign in to the LayerRail console, open your profile menu, and go to account settings.
2
Create a token
Create a personal access token for the project or automation workflow you want to run.
3
Store it securely
Save the token in a password manager or CI secret store. Do not commit it to Git.
Authenticate requests
LayerRail API requests use a personal access token in theAuthorization header.
Use scripts carefully
Automation should be project-scoped and repeatable. Store IDs and location names in environment variables instead of hard-coding them into shared scripts.Common automation tasks
- List project resources.
- Create virtual machines.
- Rotate access tokens.
- Create inference API keys.
- Query resource state before deployment.

