...

/

Handle Back-end Authentication Methods

Handle Back-end Authentication Methods

Learn how Terraform handles the backend authentication methods.

Back-end authentication

Some back-ends require authentication and authorization to access state data stored in the backend. For instance, Azure Storage requires access keys, and the MySQL back-end requires database credentials. The documentation for ...

...

Press + to interact
terraform
terraform {
backend "azurerm" {
storage_account_name = "arthurdent42"
container_name = "tfstate"
key = "terraform.tfstate"
access_key = "qwertyuiop12345678..."
}
}

Azure Storage accounts have an ...