Automation and Artificial Intelligence

A script must authenticate to Cisco Catalyst Center before it calls Intent API endpoints. Which approach does Catalyst Center use to issue the token for later requests?

Show the answer

Correct answerD. An HTTP POST with Basic authentication to the /dna/system/api/v1/auth/token endpoint, which returns a token used in the X-Auth-Token header

AWhy not this: This session-cookie login via j_security_check is the SD-WAN Manager method, not Catalyst Center.

BWhy not this: Catalyst Center does not use a PUT login with a static API key as a Bearer token.

CWhy not this: The /dataservice token endpoint is SD-WAN Manager's XSRF token call, made after cookie login.

DWhy this is right: this is the Catalyst Center token request, and the returned token is sent in X-Auth-Token.

Catalyst Center issues a token in response to a POST with Basic authentication to /dna/system/api/v1/auth/token. The token goes in the X-Auth-Token header of later Intent API calls. The j_security_check and XSRF token flow belongs to SD-WAN Manager, not Catalyst Center.