Creating secrets in Azure devops and using in the Terraform code

I am trying to figure out, how to store the keys,secrets used in Terraform script in Azure Devops Pipeline (or AKV).
For example for below -

terraform {
backend “azurerm” {
resource_group_name = “rg01”
storage_account_name = “tformstate0902”
container_name = “tstate”
key = “xxxxxxxxxxxxxxx==”
how can I define the keys as secrets in Azure Devops pipeline (or in Azure Key Vault) and pass it as secrets in the code.