Setup Scaleway credentials#
Prerequisites#
Follow the Setup workspace guide.
Setup your Scaleway account#
Go through these steps:
Configure your Scaleway account#
At the workspace root, create or edit a .env.secrets
file with this content:
.env.secrets#
1export SCW_DEFAULT_ORGANIZATION_ID="..."
2export SCW_DEFAULT_PROJECT_ID="..."
3export SCW_ACCESS_KEY="..."
4export SCW_SECRET_KEY="..."
5# This value is only an example
6export SCW_DEFAULT_REGION="fr-par"
7# This value is only an example
8export SCW_DEFAULT_ZONE="fr-par-2"
Then run:
> direnv reload
Check#
You should find your credentials when running:
> env | grep SCW
Achievement Unlocked
Your Scaleway credentials are available for the project tooling.