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
Describe the bug
If i define a service connection (for example Trino) and after some time change any property of this service, the connection details are updated but as a side-effect password (or actually any secret within this form) gets overwritten in the db with it's masked form (*******).
To Reproduce
Register service with any user and password. Save.
Go into 'Edit Connection' form.
Edit any connection attribute. Save.
Collect encrypted password from openmetadata db (for postgresql: select * from dbservice_entity)
Run in python:
from cryptography.fernet import Fernet
f = Fernet('myfernetkey') # fill out with your fernet key
p = 'myserviceconnectionpassword' # fill out with encrypted password collected from previous point
print(f.decrypt(p))
It will return ******** and your service connection will fail when connecting to underlying service.
Screenshots or steps to reproduce
Expected behavior
Secret values are not overwritten when editing connection details (unless you edit secrets themselves).
…iting connection details (any!) (#15193)
* bug: Service password gets overwritten with '********' when editing connection details (any!) #15169
* handle no change scenario
* added unit test for the change
* fixed failing unit test
* added cypress for edit ingestion form
* fixed failing cypress test
… connection details (any!) #15169
* handle no change scenario
* added unit test for the change
* fixed failing unit test
* added cypress for edit ingestion form
* fixed failing cypress test
(cherry picked from commit bc34eac)
Affected module
UI
Describe the bug
If i define a service connection (for example Trino) and after some time change any property of this service, the connection details are updated but as a side-effect password (or actually any secret within this form) gets overwritten in the db with it's masked form (*******).
To Reproduce
select * from dbservice_entity
)It will return
********
and your service connection will fail when connecting to underlying service.Screenshots or steps to reproduce
Expected behavior
Secret values are not overwritten when editing connection details (unless you edit secrets themselves).
Version:
openmetadata-ingestion[docker]==XYZ
]Additional context
This is true for any secret field that is available in service connection password - all of them will be updated with ******.
The text was updated successfully, but these errors were encountered: