Vitor-Avila commented on code in PR #38077:
URL: https://github.com/apache/superset/pull/38077#discussion_r2825648197


##########
superset/databases/api.py:
##########
@@ -1591,6 +1591,14 @@ def import_(self) -> Response:
                         the private_key should be provided in the following 
format:
                         `{"databases/MyDatabase.yaml": 
"my_private_key_password"}`.
                       type: string
+                    encrypted_extra_secrets:
+                      description: >-
+                        JSON map of sensitive values for 
masked_encrypted_extra fields.
+                        Keys are file paths (e.g., "databases/db.yaml") and 
values
+                        are JSON objects with the restricted fields
+                        (e.g., `{"databases/MyDatabase.yaml":
+                        {"credentials_info": {"private_key": "actual_key"}}}`).

Review Comment:
   Great catch! I was initially going to implement it that way, but then 
decided to do differently and forgot to update there. Fixing this now.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to