Jump toUpdate content

Scaleway Default Environment Variables

Reviewed on 15 May 2023 • Published on 15 May 2023

Scaleway environment variables

The following standardized Scaleway environment variables are used for the CLI and API.

VariableDescriptionLegacy variables
$SCW_ACCESS_KEYAccess key of a token. (Find out how to create an access key.)$SCALEWAY_ACCESS_KEY (used by Terraform)
$SCW_SECRET_KEYSecret key of a token. (Find out how to create your secret key.)$SCW_TOKEN (used by the CLI), $SCALEWAY_TOKEN (used by Terraform), $SCALEWAY_ACCESS_KEY (used by Terraform)
$SCW_DEFAULT_REGIONYour default region$SCW_REGION (used by the CLI),$SCALEWAY_REGION (used by Terraform)
$SCW_DEFAULT_ZONEYour default Availability Zone$SCW_ZONE (used by the CLI),$SCALEWAY_ZONE (used by Terraform)
$SCW_API_URLURL of the API-
$SCW_INSECURESet this to true to enable the insecure mode$SCW_TLSVERIFY (inverse flag used by the CLI)
$SCW_PROFILESet the configuration profile to use-
$SCW_PROJECT_IDYour Project ID. (Find out how to get your Project ID.)$SCW_DEFAULT_PROJECT_ID
$SCW_ORGANIZATION_IDYour Organization ID. (Find out how to get your Organization ID.)$SCW_DEFAULT_ORGANIZATION_ID, $SCW_ORGANIZATION (used by the CLI),$SCALEWAY_ORGANIZATION (used by Terraform)

Your configuration file should at least contain the following values to be fully compatible with all developer tools:

SCW_ACCESS_KEY: SCWXXXXXXXXXXXXXXXXX
SCW_SECRET_KEY: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
SCW_ORGANIZATION_ID: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
SCW_PROJECT_ID: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
SCW_DEFAULT_ZONE: fr-par
SCW_DEFAULT_REGION: fr-par-1