Exam4Training

Complete the sentence using the correct answer below:

Complete the sentence using the correct answer below:

When authentication is enabled, a Consul token should be provided to make API requests using the ___________ or ___________ header.
A . Consul_Token
B. Token
C. X-Consul-Token
D. Authorization: Bearer
E. ACL_Token

Answer: C,D

Explanation:

When authentication is enabled, a Consul token should be provided to API requests using the X-Consul-Token or the Authorization: Bearer header.

As an example, an API call should include the token as shown below:

https://www.consul.io/api-docs/acl

Exit mobile version