To create a Spotinst API Token log on to the Spotinst Console. In the settings select API.
The Spotinst Console provides both permanent and temporary tokens. Select your preferred token type and click Generate Token.
Give your token a name and click Generate. Your access token will appear in the window.
Note: Remember to keep your tokens secret; treat them just like passwords! They act on your behalf when interacting with the API. Do not share your personal access tokens with anyone outside your organization. Don’t hard-code them into your programs; instead, opt to use them as environment variables. Please contact our support if you’re concerned your token has been compromised.