CF Login using configure.json file - never expire ?


Vinod Singh <vinoddandy@...>
 

Hi,

After successful login to Cloud Foundry, all credentials with org/space
details are stored in user's home directory/.cf/configure.json file.

Question - Is it possible to update this congigure.json file manually so
that my login to cloud foundry never expire ? I know it does not sound
reasonable from security perspective but I would like to do it from from my
Mac machine.

Currently everytime I have to run this script to login:
cf api https://api.mycf.com
cf login -u vks(a)xxx.com -p xxxxx -o Org -s Space

Any pointer please.

Regards,
Vinod

Join {cf-dev@lists.cloudfoundry.org to automatically receive all group messages.