31.03.2020 Views

NET-Microservices-Architecture-for-Containerized-NET-Applications

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Issue security tokens from an ASP.NET Core service ....................................................................................... 328

Consume security tokens ............................................................................................................................................ 329

Additional resources .......................................................................................................................................................... 330

About authorization in .NET microservices and web applications .................................................................. 331

Implement role-based authorization ..................................................................................................................... 331

Implement policy-based authorization ................................................................................................................. 332

Additional resources ..................................................................................................................................................... 333

Store application secrets safely during development .......................................................................................... 333

Store secrets in environment variables ................................................................................................................. 334

Store secrets with the ASP.NET Core Secret Manager .................................................................................... 334

Use Azure Key Vault to protect secrets at production time .............................................................................. 335

Additional resources ..................................................................................................................................................... 336

Key Takeaways ..................................................................................................................... 337

ix

Contents

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!