Setup Scaleway credentials#

Important

This how-to is only useful if you intend to manage your HashiStack platform infrastructure with the Scaleway Elements Public Cloud provider.

Prerequisites#

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:

export SCW_DEFAULT_ORGANIZATION_ID="..."
export SCW_ACCESS_KEY="..."
export SCW_SECRET_KEY="..."
export SCW_DEFAULT_REGION="..."
export SCW_DEFAULT_ZONE="..."

Then run:

direnv reload

Check#

You should find your credentials when running:

env | grep SCW

Achievement Unlocked

Your Scaleway credentials are available for the HashiStack tooling.