terraform output

Terraformのoutputとは何か - Qiita 2022

The solution is crystal clear. Add sensitive = true below the output value. In my case:

output "cloudflare_access_secret" {
  value     = azuread_application_password.cloudflare_access.value
  sensitive = true
}

https://devcoops.com/terraform-output-refers-sensitive-values/

The nonsensitive TF function displays the raw value by returning a copy of it without the sensitive flag. Modify the output block as the following:

output "cloudflare_access_secret" {
  value = nonsensitive(azuread_application_password.cloudflare_access.value)
}

https://devcoops.com/show-sensitive-output-values-terraform/