Authentication methods
To use our provider, you must authenticate with one of the methods listed below.
info
Standard region:
- API (Application Programming Interface): https://api.eu-west-2.numspot.com
- Object Storage: https://objectstorage.eu-west-2.numspot.com
Method 1 - Environment variables
Set these variables in your environment so that the provider retrieves them during the various Terraform commands:
NUMSPOT_HOST=<Numspot API of the desired region>
NUMSPOT_HOST_OS=<Numspot Object Storage API of the desired region>
NUMSPOT_CLIENT_ID=<your client ID>
NUMSPOT_CLIENT_SECRET=<your secret>
NUMSPOT_SPACE_ID=<the ID of the space you want to use>
Method 2 - Terraform configuration
Define the following block and fill it in with the corresponding information:
provider "numspot" {
numspot_host = "Numspot API of the desired region"
numspot_host_os = "Numspot Object Storage API of the desired region"
client_id = "your client ID"
client_secret = "your secret"
space_id = "the ID of the space you want to use"
}