Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Developing Solutions for Microsoft Azure AZ-204 Exam Guide

You're reading from   Developing Solutions for Microsoft Azure AZ-204 Exam Guide Discover the essentials for success when developing and maintaining cloud-based solutions on Azure

Arrow left icon
Product type Paperback
Published in Oct 2022
Publisher Packt
ISBN-13 9781803237060
Length 404 pages
Edition 1st Edition
Tools
Arrow right icon
Authors (2):
Arrow left icon
Paul Ivey Paul Ivey
Author Profile Icon Paul Ivey
Paul Ivey
Alex Ivanov Alex Ivanov
Author Profile Icon Alex Ivanov
Alex Ivanov
Arrow right icon
View More author details
Toc

Table of Contents (25) Chapters Close

Preface 1. Part 1: Developing Compute Solutions in Azure
2. Chapter 1: Azure and Cloud Fundamentals FREE CHAPTER 3. Chapter 2: Implementing IaaS Solutions 4. Chapter 3: Creating Azure App Service Web Apps 5. Chapter 4: Implementing Azure Functions 6. Part 2: Developing for Azure Storage
7. Chapter 5: Developing Solutions That Use Cosmos DB Storage 8. Chapter 6: Developing Solutions That Use Azure Blob Storage 9. Part 3: Implementing Azure Security
10. Chapter 7: Implementing User Authentication and Authorization 11. Chapter 8: Implementing Secure Cloud Solutions 12. Part 4: Implementing Monitoring, Troubleshooting, and Optimization Solutions in Azure
13. Chapter 9: Integrating Caching and Content Delivery within Solutions 14. Chapter 10: Troubleshooting Solutions by Using Metrics and Log Data 15. Part 5: Connecting to and Consuming Azure and Third-Party Services
16. Chapter 11: Implementing API Management 17. Chapter 12: Developing Event-Based Solutions 18. Chapter 13: Developing Message-Based Solutions 19. Part 6: Exam Preparation
20. Chapter 14: Mock Exam Questions 21. Mock Exam Answers
22. Assessments 23. Index 24. Other Books You May Enjoy

Managing metadata and security settings for storage accounts

Let us return to the connection string you used from the previous code project. A connection string including an admin key should not be used for connection in the production environment. Configuring RBAC for resources also can help with accessing the Azure storage account. The safer option is generating SAS tokens and leveraging them to connect from code or scripts. Remember that an admin key provides high-level access and if revealed by hackers, may damage your data. The same can happen if you generate a SAS key with full permissions (you should follow the principle of least privilege).

To avoid a security breach of your storage account, you should not hardcode the keys in the code or store them in the configuration file. Microsoft recommends using Azure Key Vault to store connection information (such as the connection string, SAS, or admin keys). Moreover, the principle of least privilege should be applied to applications...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image