Hello,
i've been playing with the developer portal install for a bit and what i've noticed is that even though i drop and recreate the DB and i manage to start a brand new install process when it gets to the Configure the Edge Endpoint it populates the credentials from the previous install automatically. Where is that file located so i can either delete it or update?
Thank you,
Sergio
Solved! Go to Solution.
Edge connection credentials are stored in Drupal File System in encrypted format. If you are in cloud you can see the same file at /code/sites/default/files/private/.apigee in Encrypted format. If you are in onPremise its in /sites/default/files/private/.apigee from Drupal root folder.
You cannot directly edit above file to change the connection settings. Best way to do same is using drush command line too. Please find drush commands to update connection settings below.
Set EndPoint..
drush dc-setend http://YOUREDGEAPIENDPOINT:PORT
If you are on Cloud,
drush dc-setend https://api.enterprise.apigee.com/v1
Set Org
drush dc-setorg YOURORGNAME
Set Credentials
drush devconnect-set-auth XXXXXXXX@domain.com --password=YOURPASSWORD
where XXXXXXX@domain.com is your Org Admin Email, Replace YOURPASSWORD with password.
Test the connection using below command...
drush devconnect-test-conn
Please keep me posted if you see any issues.