Replies: 1 comment 4 replies
-
@ncsibra Currently, there is no better way. There is already the possibility to fill a header with key
channelCredentials=insecure
channelCredentials=ssl This will work with next release. If you have an even better idea, feel free to share it. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I have a GRPC server which running in insecure mod in local but in dev env using secure connection.
Setting up this work with dev and removing work with local:
How can I make this environment dependent?
The documentation says:
I'm unable to figure out how to set the same thing through a header.
My current ugly solution is to set a variable in the environment files like
ssl=true
and use this code:Is there a better way to do this?
Beta Was this translation helpful? Give feedback.
All reactions