Tootfinder

Opt-in global Mastodon full text search. Join the index!

@x_cli@infosec.exchange
2025-11-24 13:57:51

Infosec game: what is obviously wrong with this #Terraform provider?

registry.terraform.io/provider

@x_cli@infosec.exchange
2025-12-07 19:13:51

Tomorrow, I'll be publishing a #WebDAV provider for #Terraform
It handles HTTP Basic, TLS and mTLS authentication.
It supports write-only attributes to deploy secrets, including deployment of ephemeral secrets.
In a few weeks, I expect to publish another version implementing…

@x_cli@infosec.exchange
2025-11-24 13:46:39

Yet another gotcha when implementing a #Terraform resource with a WriteOnly attribute: since there is no state kept between runs, you cannot require replacement of the resource if the configured value changes because there is nothing to compare it to 🙃
In my case, the WriteOnly attribute contains a file content, so the WriteOnly attribute value is hashed and the hash is stored as part o…

@x_cli@infosec.exchange
2025-11-20 13:33:38

Oops, #Terraform datasources cannot contain write-only attributes, which means you cannot use a sensitive value in a secure way when configuring a datasource... Which leaves us with ephemeral resources which are not always what we want or passing the sensitive value to the provider (assuming the provider can take that value and pass it along to the datasource), which is not always possible...…