Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
使用命令 cf oauth-token 时,cli 会通过联系 UAA 服务器为我们获取 oauth 令牌。我想知道 cli 为此目的使用了哪些客户端凭据?是否有任何预装凭据可用于向 /token 端点发出请求。
它使用存储在 $CF_HOME/.cf/config.json 中的刷新令牌(之前登录时从 UAA 检索)以及客户端 ID“cf”和客户端密码“”。