How to Change org / management server / credentials for Portal : Private Cloud

If you need to

> change an org or

> the management server endpoint or

> credentials to connect to Edge management

for the portal in the private cloud,

You could use drush on the portal instance with the following commands

> drush dc-setorg <orgname> 
> drush dc-setauth <username> --password=<password>
> drush dc-setend http://management-server:8080/v1
Comments
gnanasekaran
Staff
@Floyd Jones

can we get this in opdk guide?

sgilson
Participant V

Is this different than doing it in Drupal by using the Configuration > Dev Portal Settings menu item in the portal? See the doc here:

http://apigee.com/docs/developer-services/content/creating-developer-portal#configuretheconnectionbe...

Stephen

anilsr
Staff

@sgilson , I believe it has been changed in OnPrem too. Earlier we were exposing this information in UI Screen to Edit. Now, we can update only using drush. @Daniel Johnson @Chris Novak Can you confirm ?

Not applicable

The ability to change this information is exposed in the Drupal UI the following contexts:

  • It is an on-prem install
  • If Edge configuration was skipped during profile install
  • If the encrypted Edge configuration information has been manually deleted from the server.

In the latter two cases, the configuration form will show the necessary fields until the form has been successfully submitted, at which time the UI will revert to not exposing this information anymore.

anilsr
Staff

@Daniel Johnson Awesome, That's quick response.

@sgilson , We need to update docs with drush commands that will help them to modify the credentials / orgname if they would like to update later point of time for various reasons. Thank you 🙂

sgilson
Participant V

@Daniel Johnson For on-prem, isn't the form always available? Or are you saying that in on-prem, the form goes away after you successfully set the info?

Stephen

Version history
Last update:
‎07-29-2015 09:00 AM
Updated by: