-
Notifications
You must be signed in to change notification settings - Fork 92
Open
Labels
bugSomething isn't workingSomething isn't workingpriority-mediumNot functioning - next quarter if capacity permitsNot functioning - next quarter if capacity permitsseverity-highBug for which there may be workaround but limits the usage of the Zowe for major use casesBug for which there may be workaround but limits the usage of the Zowe for major use cases
Description
Describe the bug
When calling the ProfileInfo.mergeArgsForProfile
function in an environment with a project-level team configuration, the values for secure credentials are not returned as knownArgs
if they are stored in a base profile.
Expected and actual results
Expected: Secure credentials accessible in project_base
are returned in knownArgs
with the argValue
correctly populated (when getSecureVals
is true
).
Actual: Secure credentials accessible in project_base
are returned in missingArgs
without an argValue
, even when getSecureVals
is true
.
JSON output for mergedArgs.missingArgs
:
"missingArgs": [
{
"argName": "user",
"dataType": "string",
"argValue": undefined,
"argLoc": {
"locType": 1,
"osLoc": [
"c:\\Users\\##########\\Desktop\\test-workspace\\zowe.config.json",
],
"jsonLoc": "profiles.project_base.properties.user",
},
"inSchema": true,
"secure": true,
},
{
"argName": "password",
"dataType": "string",
"argValue": undefined,
"argLoc": {
"locType": 1,
"osLoc": [
"c:\\Users\\##########\\Desktop\\test-workspace\\zowe.config.json",
],
"jsonLoc": "profiles.project_base.properties.password",
},
"inSchema": true,
"secure": true,
},
]
Secure values are definitely in the vault:
Describe your environment
- Zowe CLI version installed (run command
zowe --version
): N/A (not using CLI for test) - Installed plug-ins and their version numbers (run command
zowe plugins list --short
): N/A (not affected by plugins) - Node.js and NPM versions installed (run
node --version
,npm --version
): Node 22, NPM 10.9.0 - Environment variables in use: N/A
- Operating system and version: Windows 11 24H2
- Shell/terminal (bash, cmd, powershell, etc...): N/A
- Daemon mode enabled or disabled: N/A (issue with SDKs)
zFernand0zFernand0
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingpriority-mediumNot functioning - next quarter if capacity permitsNot functioning - next quarter if capacity permitsseverity-highBug for which there may be workaround but limits the usage of the Zowe for major use casesBug for which there may be workaround but limits the usage of the Zowe for major use cases
Type
Projects
Status
Medium Priority