Skip to content

Commit 2460c1e

Browse files
committed
fix: #301
1 parent e0a84e9 commit 2460c1e

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
- CLI: completely new `mc iam` command with support for user, roles, and user groups management
66
- SDK: Tenant Management added paging to the Tenant Management Client
7+
- mc dev-proxy reads now --passkey from MDSP_PASSKEY variable like other commands [#301]
78
- fixed paging issue for `mc iam --group` command [#297]
89
- Bumped all dependencies
910

src/cli/commands/mc-proxy.ts

+4
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,10 @@ export default (program: Command) => {
5656
homeDirLog(options.verbose, color);
5757
proxyLog(options.verbose, color);
5858

59+
if (options.mode === "credentials") {
60+
options.passkey = options.passkey || process.env.MDSP_PASSKEY;
61+
}
62+
5963
if (options.mode === "session") {
6064
options.session = options.session || process.env.MDSP_SESSION;
6165
options.xsrftoken = options.xsrftoken || process.env.MDSP_XSRF_TOKEN;

0 commit comments

Comments
 (0)