Open FrankSu1996 opened 1 year ago
Thank you for creating a bug report. We will investigate the bug and evaluate its impact on the product. If you haven't already, please ensure you have provided steps to reproduce the bug and as much context as possible.
Hey @FrankSu1996,
This behavior is consistent with how the underlying Node.js SDK works. That means the @zowe/cli
will also experience the same behavior.
Please keep an eye out on the following issue to get further updates:
We will revisit this once the CLI squad has made some progress on the issue mentioned above.
ProfilesCache will wipe any secure properties stored when the profile is renamed. Changing other properties on the profile does not result in the bug, and works as expected. It is ONLY when the name field specifically is changed.
To Reproduce
Note: This also occurs in base profiles. You can verify by storing the user/password from a successful authentication (via Rse/Zosmf profiles), then changing the name of the base profile. The user/password fields are now wiped
Expected behavior
Any securely stored properties using ProfileInfo.updateProperty() should persist even after profile renames.
Screenshots
Desktop (please complete the following information):
Additional context
OS: Windows 11 Zowe Explorer Version: we are using @zowe/zowe-explorer-api@2.8.0 autoStore: true zowe secure credentials setting enabled