datadog_synthetics_test unable to mark text typed to an input as secure in browser_step block
Datadog Terraform Provider Version
3.37.0
Terraform Version
1.5
What resources or data sources are affected?
I am creating a datadog synthetic test that test to login an account on a website. I basically want to enter the username and password and then click submit button. I am able to do this without a problem but the problem is I am seeing the password as plain text in the datadog synthetics test recording editor and test results steps under Sythetics console. I want the password not to be shown as plain text and want it secured. is there a way to do this?
Basically, what i want is something like this but the secure parameter do not exist in docs or not supported by the API.
resource "datadog_synthetics_test" "test_login" {
....
browser_step {
allow_failure = "false"
force_element_update = "false"
is_critical = "true"
name = "Test type password"
params {
value = var.my_test_password
secure = true
element_user_locator {
value {
type = "css"
value = "#password"
}
}
}
timeout = "0"
type = "typeText"
}
}
Terraform Configuration Files
No response
Relevant debug or panic output
No response
Expected Behavior
The password is not shown as plaint text
Actual Behavior
The password is shown as plaint text
Steps to Reproduce
No response
Important Factoids
No response
References
https://registry.terraform.io/providers/DataDog/datadog/latest/docs/resources/synthetics_test#nestedblock--browser_step--params