Agile + DevOps West 2020 Tutorial: I've Got a Secret (and I Don't Even Know What it is)

Conference archive

SEE PRICING & PACKAGES

Monday, June 8, 2020 - 9:00am to 12:30pm

I've Got a Secret (and I Don't Even Know What it is)

New

Keeping secrets out of source code has always been challenging. De-coupling sensitive information like connection strings, certificates and passwords from your development projects means you won't have accidental exposure. .Net Core now provides a rich configuration system that goes far beyond the legacy web.config appSettings. This is great for development and debugging, but how do we manage configuration when it is time to go to production? In this hands-on workshop we will first configure a local application to pull configuration from various sources. Explore in-depth learning of the many features of Azure and Azure DevOps that facilitate bringing together a build and release for production.

Guided exercises include:

  • Working with Azure App Services configuration and environment variables.
  • How to leverage Managed Identities for Azure Resources to eliminate a whole class of stored secrets.
  • Configure KeyVaults and Access Policies and integrate them with DevOps.
  • Setting up Azure DevOps build and release pipelines and experimenting with Tasks and Variables to configure applications for production.
  • Connecting Azure DevOps to Azure App Service Deployments.
  • Slot deployments and maintaining different configuration versions between them.
  • Configuring and obtaining secrets from pipeline Variables, shared Library Variable Groups and Secure Files.
  • Transforming json configuration files during release pipelines.

From source code to production, this workshop walks you through the DevOps process with focus on the various powerful ways to configure applications, including how to avoid the need for developers to have access to secrets.

What to bring: A laptop with Visual Studio Code or your favorite .Net Core IDE on either Windows, Mac or Linux.

What to prepare: Sign up for a free trial Azure subscription or use a subscription you already have. Create an Azure DevOps account (https://azure.microsoft.com/en-us/services/devops/) Install the Azure CLI (https://docs.microsoft.com/en-us/cli/azure/install-azure-cli?view=azure-cli-latest) Install Powershell or Powershell Core and the Azure Powershell Module (https://docs.microsoft.com/en-us/powershell/azure/install-az-ps?view=azps-3.0.0)

Bob Crowley
Stone Coast Fund Services

Bob Crowley is a Senior Software Developer in Portland Maine where he builds solutions in the .Net and Azure ecosystems. He has been writing bugs for over fifteen years, mostly in the financial industry despite (or because?) still not knowing the difference between a debit and a credit. With his head now securely in the cloud, Bob looks to architect business solutions that utilize the speed, security and scale of Azure offerings like Cosmos DB, CDN, App Services and DevOps. He is a frequent presenter at New England area code camps and meet ups, but in his free time he likes to make the most of both weeks of Maine's summer out on the water either in a kayak or saltwater fishing.