-
Notifications
You must be signed in to change notification settings - Fork 103
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Proposal: New data source for TLS cert #4
Comments
Hi @martinssipenko! Thanks for this suggestion and sorry for the long silence here. Supporting such a data source seems like a fine idea, and I think it could share a lot of the existing certificate resource implementation to achieve its goal. It's unlikely that the Terraform team at HashiCorp will be able to work on this in the near future due to being busy with other work, but we'd be happy to review a pull request for this if someone else has the time and motivation to work on it. |
Since I did something similar for the Private key -> Public key, I'll see if I can find time to work on datasource for this. |
* Closes hashicorp#139 support parsing certificate content hashicorp#4 * Using hash of certificates as ID for 'tls_certificate' data source * Update CHANGELOG.md * Adding BUGFIX + NOTES to the CHANGELOG as we are now fixing issue hashicorp#79. Co-authored-by: Ivan De Marino <ivan.demarino@hashicorp.com>
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
This issue was originally opened by @martinssipenko as hashicorp/terraform#14856. It was migrated here as part of the provider split. The original body of the issue is below.
I would like to propose a new data source under
TLS
provider namedtls_cert
(or something like that).Arguments:
${file('path/to/cert.pem')}
.Attributes:
signature_algo
public_key_algo
serial_number
(represented as integer)serial_number_hex
(represented as hex delimited with:
)is_ca
version
issuer
subject
not_before
not_after
Possibly even more.
Please share your view on introducing such provider.
The text was updated successfully, but these errors were encountered: