300-635 practice question 8 of 15

Which two statements apply to authentication when using the Cisco Intersight API? (Choose two.)

Full set: 75 questions
Answer options
A: Each API Key can be assigned specific roles but not privileges.
B: Secret Key is only available at API Key creation time Correct answer
C: An API Key is composed of a Key ID and Secret Key Correct answer
D: The user credentials for the cisco.com accounts are shared with the Cisco Intersight Web Service
E: An API Key is composed of a keyld and sessionCookie
Correct Answer:
B. Secret Key is only available at API Key creation time; C. An API Key is composed of a Key ID and Secret Key
Explanation

The Cisco Intersight API uses a challenge-response mechanism based on a public/private key pair for authentication. The API Key consists of a public Key ID and a Secret Key. The Secret Key is a private key that is only displayed once upon creation for security reasons; the user must save it securely as it cannot be retrieved again. This Key ID and Secret Key pair is used to sign API requests, ensuring that the request is authentic and has not been tampered with.

Why Incorrect

A. API Keys are assigned roles, and roles are collections of privileges. The statement that they cannot be assigned privileges is incorrect, as roles inherently grant privileges.
D. API keys are credentials separate from a user's cisco.com account. Sharing cisco.com credentials for API access would be a significant security vulnerability.
E. A sessionCookie is used for stateful user interface sessions in a web browser, not for the stateless, programmatic authentication required by the REST API.

References

1. Cisco Intersight API Docs, "API Keys" section. The documentation states, "When you generate an API key, you are provided with an API Key ID and a Secret Key. The Secret Key is a private key that is used to sign the API requests. The Secret Key is displayed only once, at the time of creation."

2. Cisco Intersight API Docs, "Authentication" section. This section details the HTTP Signature scheme used for authentication, which requires both the Key ID (public) and the Secret Key (private) to create the signature for each API request. It confirms the composition of the API key.

Scroll to Top