You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I used this code to generate the key:
pip3 install cryptography
Run python in terminal
python3
Import Fernet
from cryptography.fernet import Fernet
Generate the key
Fernet.generate_key()
put it here: (engine)
.env
ENCRYPT_KEY = CbsI4NHj6T20uVg8scNGDFnzKPEDihXTlwbcvDhuawk=
and faced the error when trying to :
curl -X 'POST' 'http://localhost/api/v1/database-connections' -H 'accept: application/json' -H 'Content-Type: application/json' -d '{
"alias": "my_first_test",
"use_ssh": false,
"connection_uri": "sqlite:///testDB.db"
}'
can someone help?
Beta Was this translation helpful? Give feedback.
All reactions