automation - Alternatives for automated CLI based Bluemix logins -


i have shellscript based automation uses cf cli (cf login) uses bluemix userid , password credentials. there scenarios involves several login attempts happens during point of time. 1 alternative approach can see reusing bearer token generated once till expires.

but see if there other approach automation can performed (such using cf login -sso)

not aware of. when new token uaa, refresh token can used renew authentication token many times like, perhaps rather automating cli should consider using cloud controller api directly.


Comments

Popular posts from this blog

javascript - How do you prevent nested queries/catches in sequelize? -

java - Could not retrieve pre-bound Hibernate session - Could not obtain transaction-synchronized Session for current thread -

java - ConcurrentModificationException upon committing transaction with Hibernate -