mindsphere / mindconnect-nodejs

NodeJS Library for Industrial IoT Connectivity - TypeScript SDK for Industrial IoT - Command Line Interface - Development Proxy - typescript-sdk is waiting for your contributions!
https://developer.siemens.com/industrial-iot-open-source/index.html
MIT License
68 stars 23 forks source link

mc dev-proxy does not read --passkey from MDSP_PASSKEY variable like other commands #301

Closed bratkartoff closed 2 years ago

bratkartoff commented 3 years ago

Describe the bug See title

To Reproduce

PS> $env:MDSP_PROXY="superSecretPasskey"
PS> mc dev-proxy --mode credentials

you have to specify passkey for credentials mode
PS>

Expected behavior Should work like --passkey

PS> mc dev-proxy --mode credentials --passkey "superSecretPasskey"

Mode credentials

CORS support on
...
sn0wcat commented 2 years ago

@bratkartoff is fixed in 3.17.0