Wiki6 · Automation & Programmability · security

REST API Authentication

Also: API authenticationAPI keyAPI keysbearer tokenbearer authenticationbasic authenticationOAuthOAuth 2.0access tokenHTTP Basic AuthenticationBearer Token Authenticationoauth 2

REST APIs authenticate clients with methods such as basic authentication (Base64-encoded username and password, which must be protected by HTTPS), API keys, bearer tokens and OAuth 2.0, which grants limited-scope access tokens without sharing the user's password.

NetworkChuck0

Not taught as a topic in NetworkChuck Free CCNA. Mentioned fewer than twice, if at all.

Jeremy's IT Lab2

  1. Day 61 Part 2 REST API Authentication

    REST API AuthenticationValidates a client's identity before an API grants access to an application's data; it is also used to track usage for billing. Common methods are basic, bearer, API key and OAuth 2.0. An API key is a static key from the provider that is valid until revoked and should be sent in the Authorization header.

    7:24Let's look a bit deeper at basic authentication as I said basic Authentication includes a username and password in the HTTP headers these credentials are encoded in base 64 format.
    Said 62×
  2. Day 61 REST APIs

    REST API AuthenticationIn the DNA Center demo, a POST with Basic Auth credentials returns a token. Later requests include it in the X-Auth-Token header, because the stateless API needs authentication on every request.

    Covered on a concept card

Related terms

Flashcards that test it