Terraform does not store write-only atttributes into state file. This improves security. See more details: https://developer.hashicorp.com/terraform/language/resources/ephemeral/write-only