-
Notifications
You must be signed in to change notification settings - Fork 105
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
tls_certificate
to export certificates in the chain as PEM
#208
tls_certificate
to export certificates in the chain as PEM
#208
Conversation
…ates in the chain, in PEM format * new computed attribute: `cert_pem` in the maps in `tls_certificate.certificates[]` * provided testing to verify the chain contains the exact same as the source PEM, both when loading via `.content` and via `.url` * updated documentation to reflect the new feature Co-authored-by: Olivier Ceyral <olivier.ceyral@quicksign.com> Co-authored-by: Philippe <phil@lighthouse.com.br>
I need to add the CHANGELOG entry |
… from file This was ok except we would need to account for tests ran on windows, where the line terminations would be replaced (`\n -> \r\n`)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me 🚀
…rp#208) * `tls_certificate` data source now exports the loaded/fetched certificates in the chain, in PEM format * new computed attribute: `cert_pem` in the maps in `tls_certificate.certificates[]` * provided testing to verify the chain contains the exact same as the source PEM, both when loading via `.content` and via `.url` * updated documentation to reflect the new feature Co-authored-by: Olivier Ceyral <olivier.ceyral@quicksign.com> Co-authored-by: Philippe <phil@lighthouse.com.br> * Fix documentation for the `id` attribute of `tls_certificate` data source * Use multiline fixtures to compare PEMs produced instead of reading it from file This was ok except we would need to account for tests ran on windows, where the line terminations would be replaced (`\n -> \r\n`) * Updating CHANGELOG Co-authored-by: Olivier Ceyral <olivier.ceyral@quicksign.com> Co-authored-by: Philippe <phil@lighthouse.com.br>
I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active contributions. |
Closes #192