ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 65 - MCPA - Level 1 discussion

Report
Export

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?

A.
The credentials provided by the IdP for identity management
Answers
A.
The credentials provided by the IdP for identity management
B.
The credentials provided by the IdP for client management
Answers
B.
The credentials provided by the IdP for client management
C.
An OAuth 2.0 token generated using the credentials provided by the IdP for client management
Answers
C.
An OAuth 2.0 token generated using the credentials provided by the IdP for client management
D.
An OAuth 2.0 token generated using the credentials provided by the IdP for identity management
Answers
D.
An OAuth 2.0 token generated using the credentials provided by the IdP for identity management
Suggested answer: A, B, C, D

Explanation:

Answer: The credentials provided by the IdP for identity management *****************************************

Reference: https://docs.mulesoft.com/runtime-manager/anypoint-platform-cli#authentication

>> 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

asked 18/09/2024
Said Bouzardaoui
38 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first