Skip to Content
Clean Code in C#
book

Clean Code in C#

by Jason Alls
July 2020
Intermediate to advanced
500 pages
11h 8m
English
Packt Publishing
Content preview from Clean Code in C#
Securing APIs with API Keys and Azure Key Vault

In this chapter, we are going to see how we can keep secrets in Azure Key Vault. We will also be looking at how we can use API keys to secure our own keys with authentication and role-based authorization. To gain first-hand experience with API security, we will build a fully functional FinTech API.

Our API will extract third-party API data using a private key (kept safe in Azure Key Vault). We will then secure our API with two API keys; one key will be used internally and a second key will be used by external users.

The following topics are covered in this chapter:

  • Accessing the Morningstar API
  • Storing the Morningstar API in Azure Key Vault
  • Creating the dividend calendar ASP.NET Core web application ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

High-Performance Programming in C# and .NET

High-Performance Programming in C# and .NET

Jason Alls
Code like a Pro in C#

Code like a Pro in C#

Jort Rodenburg

Publisher Resources

ISBN: 9781838982973Supplemental Content