aws-samples / aws-iot-securetunneling-localproxy

AWS Iot Secure Tunneling local proxy reference C++ implementation
https://docs.aws.amazon.com/iot/latest/developerguide/what-is-secure-tunneling.html
Apache License 2.0
73 stars 70 forks source link

fetaure of adding client-token in UUIDv4 format value via env variable or via -l commandline para same as access-token #87

Closed mayurpatel-kaercher closed 2 years ago

mayurpatel-kaercher commented 2 years ago

Motivation

Modifications

Change summary

Testing

Is your change tested? Yes.

Please list your testing steps and test results.

# via Commandline 
./localproxy  -r eu-west-1 -d 22 -t xxxxxxxxxxxxxxxxxxxxxxxxxxx -l 514c075b-a407-4d59-9bce-cb82e5e75868

# via Env Variable
AWSIOT_TUNNEL_CLIENT_TOKEN=514c075b-a407-4d59-9bce-cb82e5e75869  AWSIOT_TUNNEL_CLIENT_TOKEN=xxxxxxxxxxxxxxxxxxxxxxxxxxx ./localproxy  -r eu-west-1 -d 22

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

shangabl commented 2 years ago

Hi mayurpatel-kaercher,

I'm sorry that this PR was overlooked by our team! I recently merged a change adding the same functionality.

Thank you for your time on this. Please don't hesitate to contribute in the future.