Hello, I wanted to ask if there is a possibility to use the zmf-explorer Extension in VS-Code and parallel the zowe-explorer.
Zowe Profiles use a tokenValue, while ZMF Profiles use User and Password. I tried to make nested profiles, which works half. If I logon with authentication token in zowe, i am able to connect, but if I then try to logon in zmf, it asks the base profile username and password, and add it afterwards to the baseprofile, even though I didn't specify that the base profile should use username and password, instead only a tokenvalue.
In the Profile itself I added "secure: ["user", "password"]" but it asks me nevertheless.
in the CLI I can execute commands, but I don't get any answer back:
PS S:\\> zowe zmf get pg PS S:\\>
in the CLI there is the workaround to create a second baseprofile and specify every time which baseProfile to use, which works, but is't the solution I'd like to use long term.
{
"$schema": "./zowe.schema.json",
"profiles": {
"userpwd": {
"properties": {
"host": "changeman-rest.net",
"basePath": "/zmfrest",
"port": 443,
"protocol": "https"
},
"profiles": {
"zmf1": {
"type": "zmf",
"properties": {
"port": 443,
"protocol": "https",
"encoding": "IBM-1141",
"rejectUnauthorized": false
}
}
},
"secure": [
"user",
"password"
]
},
"apiml": {
"profiles": {
"zosmf": {
"type": "zosmf",
"properties": {
"basePath": "ibmzosmf/api/v1",
"encoding": "IBM-1141",
"responseTimeout": 300,
"port": 0,
"tokenType": "apimlAuthenticationToken"
},
"secure": [
"tokenValue"
]
}
}
},
"base": {
"type": "base",
"properties": {
"host": "gateway-zowe.net",
"rejectUnauthorized": false,
"tokenType": "apimlAuthenticationToken"
},
"secure": [
"tokenValue",
// "user", <-- added by zmf extension
// "password" <-- added by zmf extension
]
}
},
"defaults": {
"zosmf": "apiml.zosmf",
"zmf": "userpwd.zmf1",
"base": "base"
},
"autoStore": true
}Is there a possibility to use the Zowe Profile with tokenValue, and in the same instance and same zowe.config.json use zmf-explorer with username and password?
EDIT:
even though I have specified everything, I still can't connect fully to ZMF.
I get this Warning
But I don't use tokens for ZMF
Thanks in advance
Felix Braun
#zowe
#zmf-explorer
#VSCode
#VSCode
#ZMF
#ZMFExplorer
#CLI
#Zowecli
#plugin
#ChangeManZMF
#problem

