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
Access to my DeviceId dynamically #986
Comments
You have access to that via enviroment variables which are being passed into your module: (you can do a docker inspect on your module to see what is all there) |
Thank you! I did the docker inspect and found it ! |
https://stackoverflow.com/questions/4870328/read-environment-variables-in-node-js |
Hi @Ilheu you should be unblocked with the use of these environment variables. I'm going to close this issue for now, but feel free to reopen if you have other questions. |
I would like to get my iot edge deviceId, without writing it in my code, is it possible ?
My module is in node.js
The text was updated successfully, but these errors were encountered: