mik-laj commented on issue #23262:
URL: https://github.com/apache/airflow/issues/23262#issuecomment-1109956328

   > The connection is stored as follows:
   > 
   > {"login": "[email protected]", "password": "my_password"}
   
   According to the documentation, the connection should be written as a URI.
   > You can store the different values for a secret in two forms: storing the 
conn URI in one field (default mode) or using different fields in Amazon 
Secrets Manager (setting full_url_mode as false in the backend config), as 
follows:
   
   
https://airflow.apache.org/docs/apache-airflow-providers-amazon/stable/secrets-backends/aws-secrets-manager.html
   
   By default, we use URI formaat, so you should use the following command to 
set URI:
   ```
   aws secretsmanager put-secret-value \
       --secret-id airflow/connections/smtp_default \
       --secret-string "smtps://user:[email protected]:465"
   ```
   
https://airflow.apache.org/docs/apache-airflow-providers-amazon/2.2.0/secrets-backends/aws-secrets-manager.html


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

Reply via email to