-
Notifications
You must be signed in to change notification settings - Fork 94
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[next] Custom secure properties not loaded #1663
Comments
Thank you for creating a bug report. If you haven't already, please ensure you have provided steps to reproduce it and as much context as possible. |
@zFernand0 without the host in the config you will receive the error shown for missing host. isn't that expected behavior? |
I guess I would expect Zowe Explorer to work the same way as the CLI here, and be able to look for the host in the vault. |
That could be a great enhancement to add after v2 goes out! 😁 In the past we have only prompted for user/pass but it would be cool to prompt for missing items other than that. Maybe we can add the enhancement tag and add it to the PI Planning list? |
The prompting for missing properties I agree that it could be an enhancement after v2 (as a 2.1). |
@zFernand0 when you test my PR could you check again and see if it's grabbing the secure values? It should if stored securely. |
Will do! 😋 |
I'm still seeing the |
@zFernand0 we are using this snippet of code to get all knownArgs from imperative and checking for secure items to get the info
should we look into imperative to see why we aren't getting all of the secure items? |
FYI, there is a In my testing, I was confused thinking it wasn't extracting values from the secure vault, but it was due to the CLI storing them under I'll retest the |
This seems to be a problem. Even though ZE is reading form the same However, when using the ProfileInfo APIs outside of ZE (e.g. sample project, or small VSCE) it's able to load any custom properties. That makes me believe that somewhere in ZE we are only considering the user and password as secure fields. Same thing is happening with the APIML Token (#1713) |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
@zFernand0 I removed pending closure tag, is that enough of an activity along with comment to keep it from auto-closing? |
I believe so, 👍 |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
I'm considering disabling the auto-close-issue bot 😋 |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
This issue has been automatically closed due to lack of activity. In an effort to reduce noise, please do not comment any further. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
As a result of the tests I have made , I came up with a conclusion that the Issue is no longer exists. Any securely stored profile attribute on schema can be loaded under the the scenarios I have tested are : base profile, nested profile, profile that overrides base profile and regular profile. If you can reproduce this issue please provide the steps to repro so I can test again. Awaiting for inputs to make a final decision about this issue ... |
Thank you for retesting! |
Describe the bug
The ZE extension won't load a profile (i.e. fails to validate) when provided with a team config that has a profile required property (host, port) in the
secure
array.To Reproduce
zowe.config.json
(see below) into a new workspaceExpected behavior
All properties are loaded regardless of whether or not they are stored securely
Screenshots
Desktop (please complete the following information):
Additional context
Using a VSIX from #1637
The text was updated successfully, but these errors were encountered: