Currently we only support logging in to the APIML for base profiles, and there can only be one active base profile per team config file.
If nested profiles like the example below are defined, users may want to log in to multiple APIML instances per team config file.
Either Zowe Explorer should also support this scenario, or we should document it as a known limitation.
{
"$schema": "./zowe.schema.json",
"profiles": {
"lpar1": {
"profiles": {
"zosmf": {
"type": "zosmf",
"properties": {
"basePath": "/ibmzosmf/api/v1"
}
}
},
"properties": {
"host": "example1.com",
"port": 7554,
"rejectUnauthorized": true,
"tokenType": "apimlAuthenticationToken"
},
"secure": [
"tokenValue"
]
},
"lpar2": {
"profiles": {
"zosmf": {
"type": "zosmf",
"properties": {
"basePath": "/ibmzosmf/api/v1"
}
}
},
"properties": {
"host": "example2.com",
"port": 7554,
"rejectUnauthorized": true,
"tokenType": "apimlAuthenticationToken"
},
"secure": [
"tokenValue"
]
}
},
"defaults": {
"zosmf": "lpar1.zosmf"
},
"autoStore": true
}
Currently we only support logging in to the APIML for base profiles, and there can only be one active base profile per team config file.
If nested profiles like the example below are defined, users may want to log in to multiple APIML instances per team config file.
Either Zowe Explorer should also support this scenario, or we should document it as a known limitation.
{ "$schema": "./zowe.schema.json", "profiles": { "lpar1": { "profiles": { "zosmf": { "type": "zosmf", "properties": { "basePath": "/ibmzosmf/api/v1" } } }, "properties": { "host": "example1.com", "port": 7554, "rejectUnauthorized": true, "tokenType": "apimlAuthenticationToken" }, "secure": [ "tokenValue" ] }, "lpar2": { "profiles": { "zosmf": { "type": "zosmf", "properties": { "basePath": "/ibmzosmf/api/v1" } } }, "properties": { "host": "example2.com", "port": 7554, "rejectUnauthorized": true, "tokenType": "apimlAuthenticationToken" }, "secure": [ "tokenValue" ] } }, "defaults": { "zosmf": "lpar1.zosmf" }, "autoStore": true }