cloudfoundry - how to save cloud foundry username and password? -
i can login cloud-foundy/bluemix using:
cf login -u my_cf_username -p my_cf_password
i can set environment variables store these values (e.g. setting them in .bashrc
or .profile
):
export cf_user=my_cf_username export cf_pass=my_cf_password cf login -u $cf_user -p $cf_pass
however, ideally cloud foundry username , password retrieved properties file, e.g. $home/.cf
- possible?
this isn't possible current cf cli client. should possible write custom cf cli plugin handle behaviour.
Comments
Post a Comment