An Anypoint Platform organization has been configured with an external identity provider (IdP) for identity management and client management. What credentials or token must be provided to Anypoint CLI to execute commands against the Anypoint Platform APIs?
Correct Answer : The credentials provided by the IdP for identity management
*****************************************
>> There is no support for OAuth 2.0 tokens from client/identity providers to authenticate via Anypoint CLI. Only possible tokens are 'bearer tokens' that too only generated using Anypoint Organization/Environment Client Id and Secret from https://anypoint.mulesoft.com/accounts/login. Not the client credentials of client provider. So, OAuth 2.0 is not possible. More over, the token is mainly for API Manager purposes and not associated with a user. You can NOT use it to call most APIs (for example Cloudhub and etc) as per this Mulesoft Knowledge article.
>> The other option allowed by Anypoint CLI is to use client credentials. It is possible to use client credentials of a client provider but requires setting up Connected Apps in client management but such details are not given in the scenario explained in the question.
>> So only option left is to use user credentials from identify provider
Jesus
5 months agoKris
4 months agoBarbra
5 months agoPearline
5 months agoSharika
4 months agoMee
4 months agoTamra
4 months agoCarline
5 months agoChau
5 months agoMargurite
5 months agoYan
5 months agoLouvenia
5 months agoDaryl
6 months agoSherita
6 months agoChau
6 months agoRory
6 months agoMy
5 months agoRenea
5 months agoThad
5 months agoVannessa
5 months agoEugene
6 months ago