../_images/login_button.png ../_images/signup_button.png



How do I use provider credentials in Scalr IaCP?

Credentials for Terraform providers can easily be set up by account admins and automatically declared as Environment Variables in chosen environments and workspaces

  • Account administrators configure cloud credentials in the account.

    ../_images/how_to_creds_1.png
  • Link the credentials to the Environments. Each environment can have credentials for multiple providers, but only one set per provider.

    ../_images/how_to_creds_2.png
  • Scalr automatically creates the required environment variables for each provider in every workspace in the environment.

    ../_images/how_to_creds_3.png

Note that the variables are sensitive and the values are not exposed.

  • Provider blocks can now be configure without any credentials parameters.

provider "aws" {
  region     = var.aws_location
}

Related documentation : Cloud Credentials