add secret_binary attribute to aws_secretsmanager_secret_version data source #4571
Labels
enhancement
Requests to existing resources that expand the functionality or scope.
service/secretsmanager
Issues and PRs that pertain to the secretsmanager service.
Milestone
Community Note
Description
Thank you for providing the aws_secretsmanager_secret_version data source for us to use. I have found that I cannot store multiline strings, such as ssh keys in the SecretString property as aws mangles them. I can however store them in the SecretBinary property without issue but Terraform doesn't support that property yet.
Please add a secret_binary attribute to the aws_secretsmanager_secret_version data source.
The resource with the same name could also be updated but frankly I don't think terraform should be managing secret values because that requires storing the secrets somewhere else before giving them to terraform which not only duplicates some of the functionality of secrets manager but breaks other aspects of it like secret rotation.
New or Affected Resource(s)
Potential Terraform Configuration
References
The text was updated successfully, but these errors were encountered: