You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Importing a data source object with credential field dropped will fail, because it fails basic input field validation. E.g.
if (!username) {
throw SavedObjectsErrorHelpers.createBadRequestError(
'"auth.credentials.username" attribute is required'
);
}
We don't want to remove server side validation, just for this use case, and we also want to avoid exporting the hashed credential. After discussion with team, we decide to use a place holder value when exporting. cc: @BionIT@zengyan-amazon
current and expected behavior
Currently, data source saved object is exported as below
Is your feature request related to a problem? Please describe.
Remove credentials from data source object when exported
Describe the solution you'd like
Remove credentials from data source object when exported
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
The text was updated successfully, but these errors were encountered: