You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2020/08/11 15:23:58 UTC

[GitHub] [airflow] eladkal edited a comment on issue #10029: Add Salesforce docs for setting up a connection

eladkal edited a comment on issue #10029:
URL: https://github.com/apache/airflow/issues/10029#issuecomment-671999215


   @kaxil is it working?
   I'm running 1.10.9 we have fernet key set and there is no encryption to the extra field:
   ![Screen Shot 2020-08-11 at 17 42 58](https://user-images.githubusercontent.com/45845474/89911699-6588ea00-dbfa-11ea-932a-922d5011e2fb.png)
   
   passwords are encrypted. extra is not.
   Is it a bug or I'm doing something wrong?
   
   Also It's important to note that encrypting the whole extra field isn't desired for Salesforce connection.
   There is another important param that you need to be able to control. the `domain` param determinate if you are running on sandbox or production. 
   So the actual `Extra` can be:
   `{"security_token":"your_token", "domain":"test" }`
   
   If the whole json is encrypted you never know on which mode you are and every time you want to change more you must also re-enter the security token. A workaround can be creating two connections one for test and one for production but again the question is if we want to write something like that in the docs.


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org