Hi All Can anyone please tell me know , how to ad...
# replication-troubleshooting
g
Hi All Can anyone please tell me know , how to add .pem file for authentication of source (MongoDB) in airbyte. if the .pem file to be added to any docker container or how it is to be done. Can someone please let me know.
n
Hi, Gowrav! You can add a
.pem
file for authentication in the MongoDB source by following the steps outlined in the Airbyte documentation. First, you need to generate an RSA private key. To do this, run the following command:
Copy code
ssh-keygen -t rsa -m PEM -f myuser_rsa
This will generate the private key in PEM format and the public key in the standard format used by the
authorized_keys
file on your bastion server. Add the public key to your bastion host to the user you want to use with Airbyte. Then, when configuring the MongoDB source in Airbyte, select the
SSH Key Authentication
option and enter the RSA private key in the
SSH Private Key
field. This should be the full contents of the key file starting with
-----BEGIN RSA PRIVATE KEY-----
and ending with
-----END RSA PRIVATE KEY-----
. For more information, please refer to the Airbyte documentation.