Microsoft Azure
We use Azure for Kubernetes services, secrets management, and container registries.
Overview
Azure hosts critical infrastructure for the Data Team:
- Kubernetes Clusters
- Stage:
stage-bankV2-use2-aks - Prod:
prod-bankV2-use2-aks
- Stage:
- Key Vaults (for Airflow secrets)
- Stage:
stage-dt-airflow-kv - Prod:
prod-dt-airflow-kv
- Stage:
- Container Registries
- Dev:
minoritydev - Prod:
minoritycr
- Dev:
Prerequisites
Microsoft Account
You'll receive a Microsoft account on your first day at Majority.
Multi-Factor Authentication (MFA)
You'll need to set up MFA before accessing Azure:
- Install Microsoft Authenticator on your phone
- Follow the MFA setup prompts when first logging into Azure
- Keep your authenticator app handy for future logins
VPN Access (Warp)
Azure access requires connection to the VPN.
Install and configure Warp by following this guide.
VPN Required
You must be connected to Warp VPN to access Azure resources. Connect before attempting to use Azure services.
Web Portal Access
Access the Azure Portal using your Majority Microsoft account.
CLI Setup
Install Azure CLI
Install the Azure CLI using Homebrew:
Login
Authenticate with Azure:
This will: 1. Open your browser for authentication 2. Prompt you to sign in with your Microsoft account 3. Require MFA verification 4. List available subscriptions
Select the appropriate subscription when prompted.
Key Vault Operations
Add Secret with Preserved Formatting
To add a secret to Key Vault from a file while preserving its formatting:
Example: