-
Notifications
You must be signed in to change notification settings - Fork 2
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
Temporal Cloud: Support SSL #96
Comments
is the idea to expose the cert and key as config ? |
should we allow the use of a keystore ? |
Also we can probably leverage the Quarkus TLS Centralized Registry I will have a look into this if I have some time over the weekend ! |
Yep my thought was the tls resigtry. I haven't thought it all the way through but thought we should support it for people using their cloud product. |
I assigned it to you. |
I really like this statement and it makes using the TlsRegistry a no brainer i think for this
|
The TLS registry has been introduced in quarkus 3.12.0, we will need to make this the lowest required version if we want to use this |
Ok I think I will cut 1.0.0 after we merge your last change then we can start on 2.0.x on Quarkus 3.12. Sound good? |
That way we have at least a version for people staying on LTS |
another callout: I still think it is valuable to pursue this route, but this will require some more digging |
about the version, I think that quarkus 3.15 is around the corner and will be the next LTS. maybe we should wait for this one for our 2.0.x ? |
ok great idea. for now we can just add two config params for the certificates i have seen a lot of other extensions do this in the codebase. Then maybe we switch to TLS Registry in 3.15? |
I have been exploring options, and I am starting to wonder if implementing our own SSL config is the right thing to do. Instead, we could inject a managed channel into the temporal client. This way, the TLS config would be done within the quarkus grpc extension directly. But I would love some feedback from the folks contributing in the quarkus GRPC space |
@mkouba Any though about using a quarkus-managed channel in the temporal client instead of creating our own (or more exactly to let the client create his own) ? The setChannel method documentation of the temporal client mention:
|
it is mostly working (see the attached PR), the only things that stand out is that we would need to map the config key |
Is there a build item that can be used to set a value of a config property ? |
Nice. As far as your config item question I am pretty sure they are meant to be read only and not changed by anything but I could be wrong. I will let the experts weigh in. |
Actually let me look i think i did see somewhere recently they were updating a config item. |
@rmanibus should we add a documentation section on how to connect to Temporal Cloud using the GRCP certificate? |
We are trying to use temporal cloud from quarkus via this extension. I have the latest version 0.0.9. Anyways I could use client cert path and client key to be used? |
hey @shrikanthkr, I will break a new release today.
|
note that this is still an early release, I would love to get your feedback on using it in real life ! |
We also need to add this to our docs because others will ask the same thing |
@shrikanthkr also you can use Amazon Secrets Manager to bring in your secrets: https://docs.quarkiverse.io/quarkus-amazon-services/dev/amazon-secretsmanager.html |
@all-contributors add @shrikanthkr for testing |
I've put up a pull request to add @shrikanthkr! 🎉 |
@rmanibus @melloware Thank you. I will try it out and let you know if I come across any challenges. Thank you so much for the quick response. |
@melloware I tried the 0.0.10 version today. Having the mlts certpath and certkey locally on resources folder works. Am trying to figure out a way to get it from aws secrets directly. |
@shrikanthkr awesome news!!! As for AWS secret this post has example code on how to get those vlaues as AWS Secrets: quarkiverse/quarkus-amazon-services#510 |
From the docs here: https://docs.temporal.io/develop/java/temporal-clients#connect-to-temporal-cloud
The text was updated successfully, but these errors were encountered: