Complete the code to specify the encryption type in an Airflow connection URI.
conn = 'postgresql+psycopg2://user:password@host:5432/dbname?sslmode=[1]'
The sslmode=require option enforces SSL encryption for the connection.
Complete the Airflow connection URI to enable TLS encryption with verification.
conn = 'mysql+pymysql://user:password@host/db?ssl_ca=[1]'
Specifying the path to the CA certificate file enables TLS with verification.
Fix the error in the Airflow connection URI to correctly enable SSL encryption for a PostgreSQL connection.
conn = 'postgresql://user:password@host:5432/dbname?sslmode=[1]'
The sslmode=verify-full option enables SSL encryption with full verification of the server certificate.
Fill both blanks to create an Airflow connection URI for MySQL with encrypted connection and client certificate authentication.
conn = 'mysql+pymysql://user:password@host/db?ssl_ca=[1]&ssl_cert=[2]'
The ssl_ca parameter points to the CA certificate, and ssl_cert points to the client certificate for authentication.
Fill all three blanks to define an Airflow connection URI for PostgreSQL with SSL encryption, client certificate, and client key.
conn = 'postgresql+psycopg2://user:password@host:5432/dbname?sslmode=[1]&sslcert=[2]&sslkey=[3]'
sslmode=verify-ca enables SSL with CA verification. sslcert is the client certificate path, and sslkey is the client private key path.