nerdexam
Cisco

200-901 · Question #53

Which statement about authentication a RESTCONF API session with a router that runs Cisco IOS XE software is true?

The correct answer is C. Basic authentication must be used. Cisco IOS XE's RESTCONF implementation requires HTTP Basic Authentication, where the username and password are Base64-encoded and sent in the HTTP Authorization header with each request. OAuth is not supported by IOS XE RESTCONF. The X-Auth-Token header with a retrieved token…

Understanding and Using APIs

Question

Which statement about authentication a RESTCONF API session with a router that runs Cisco IOS XE software is true?

Options

  • AOAuth must be used.
  • BA token must be retrieved and the associated string must be embedded in the X-Auth-Token
  • CBasic authentication must be used.
  • DNo authentication is required.

How the community answered

(49 responses)
  • A
    4% (2)
  • B
    2% (1)
  • C
    92% (45)
  • D
    2% (1)

Explanation

Cisco IOS XE's RESTCONF implementation requires HTTP Basic Authentication, where the username and password are Base64-encoded and sent in the HTTP Authorization header with each request. OAuth is not supported by IOS XE RESTCONF. The X-Auth-Token header with a retrieved token is associated with other Cisco platforms (such as Cisco NSO or UCS Manager), not IOS XE RESTCONF. Requiring no authentication would be a serious security vulnerability and is not how IOS XE RESTCONF is designed.

Topics

#RESTCONF#API Authentication#Cisco IOS XE#Network Programmability

Community Discussion

No community discussion yet for this question.

Full 200-901 Practice