~/talk

Keyless Connections to Azure Cosmos DB (RBAC auth for data)

Talkat Azure Cosmos DB Conf 2022 · 2022-04-19..04-20· [security]
links:none on file
slides:none on file

Shows how to stop using Cosmos DB keys by switching to RBAC and Managed Identity, using the SDK overload that accepts DefaultAzureCredential and granting app principals via Azure CLI or PowerShell role assignments (role 0001 = read, 0002 = read/write). Sets the resource property disableLocalAuth to true so keys become unusable, removes key rotation and Key Vault management, and requires the Cosmos DB Data Explorer (portal Data Explorer and the local emulator still require the key). Demonstrates with a sample function app reading three items and failing until RBAC is granted.

AI-written summary · about

  1. 0:00Intro
  2. 0:28How it works
  3. 2:02Demo
  4. 6:25Credentials
  5. 10:57Arm Template
  6. 18:51Manage Identity
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.