Skip to content

Financial Services

PCI-DSS and regulatory compliant architecture for financial services with cardholder data protection.


Financial services organizations face stringent regulatory requirements including PCI-DSS for payment card data, SOX for financial reporting, and increasingly DORA (EU) for digital operational resilience. This architecture addresses these requirements while maintaining data sovereignty.

After completing this section, you will be able to:

  • ✅ Design PCI-DSS compliant Azure architectures
  • ✅ Implement cardholder data environment (CDE) isolation
  • ✅ Configure fraud detection with AI/ML
  • ✅ Meet financial regulatory requirements

_

_ Financial Services Sovereign Architecture Figure 1: PCI-DSS compliant architecture with cardholder data environment isolation

PCI Zone (Cardholder Data Environment)

The CDE is completely isolated from general workloads:

ComponentPurposePCI Requirement
Isolated VNetNetwork segmentation1.3
Azure Firewall with IDS/IPSTraffic filtering1.4
WAF with OWASP rulesApplication protection6.6
Payment AKSHardened containers2.2
SQL with Always EncryptedColumn-level encryption3.4
Tokenized StoragePAN tokenization3.5

Non-PCI workloads with controlled access to the CDE:

  • Analytics workloads (fraud detection)
  • Customer-facing applications
  • Back-office systems

graph LR
    A[Internet] -->|"❌ Blocked"| B[CDE VNet]
    C[Internal Apps] -->|"Firewall<br/>Inspection"| B
    B -->|"Private<br/>Endpoints"| D[Payment Services]

    style B fill:#FFE4E1,stroke:#D13438
    style D fill:#D4E9D7,stroke:#107C10
Data TypeProtection MethodAzure Service
Primary Account Number (PAN)TokenizationCustom tokenization service
CVVNever storedN/A
Cardholder NameEncryptionAlways Encrypted
Expiration DateEncryptionTDE + CMK
Terminal window
# PIM configuration for CDE access
New-AzureADMSPrivilegedAccessRole `
-RoleName "CDE-Administrator" `
-ResourceId "/subscriptions/{sub}/resourceGroups/pci-rg" `
-MaxDuration "PT4H" `
-RequireApproval $true `
-RequireJustification $true `
-RequireMFA $true

# Event Hub -> Stream Analytics -> ML Scoring
fraudDetectionPipeline:
input:
eventHub:
name: "payment-transactions"
consumerGroup: "fraud-detection"
processing:
streamAnalytics:
query: |
SELECT
TransactionId,
Amount,
Location,
CardToken,
UDF.ScoreFraudRisk(Transaction) as RiskScore
FROM TransactionStream
WHERE Amount > 1000 OR Location != LastKnownLocation
output:
- highRiskQueue: "fraud-review"
- dataLake: "transaction-archive"

The fraud detection model runs in a separate non-CDE zone:

  • Input: Tokenized transaction metadata (no PAN)
  • Processing: Azure Databricks with ML model
  • Output: Risk score (0-100)
  • Action: High-risk transactions flagged for review

Terminal window
# Create Managed HSM for payment processing
New-AzKeyVaultManagedHsm `
-Name "payment-hsm" `
-ResourceGroupName "pci-keys-rg" `
-Location "westeurope" `
-Sku "Standard_B1" `
-Administrator @("{security-team-object-id}")
# Create payment encryption key
Add-AzKeyVaultKey `
-VaultName "payment-hsm" `
-Name "card-encryption-key" `
-KeyType "RSA-HSM" `
-Size 4096 `
-KeyOps @("encrypt", "decrypt", "wrapKey", "unwrapKey")
Key TypeRotation FrequencyMethod
Data Encryption Key (DEK)90 daysAutomatic
Key Encryption Key (KEK)AnnualManual with approval
TLS Certificates1 yearAutomatic via Key Vault

For EU financial services, the Digital Operational Resilience Act (DORA) requires:

RequirementImplementation
ICT Risk ManagementMicrosoft Defender for Cloud
Incident ReportingSentinel with custom playbooks
Resilience TestingAzure Chaos Studio
Third-party RiskVendor assessment via Purview
Information SharingThreat intelligence integration

  • Complete PCI-DSS SAQ or ROC
  • Deploy isolated CDE VNet
  • Configure Azure Firewall with IDS/IPS
  • Implement tokenization service
  • Deploy Managed HSM
  • Configure Always Encrypted for SQL
  • Enable fraud detection pipeline
  • Set up PIM for privileged access
  • Configure file integrity monitoring
  • Schedule quarterly vulnerability scans


Reference: Azure PCI-DSS Blueprint — Microsoft Learn