Commit ada1441
feat(deploy): add -HybridAgentPrincipalId param to Deploy-Azure.ps1
Wires the on-prem HybridAgent SPN/UAMI object ID through to the Bicep
parameter so the producer pivot RBAC (queue-scoped SB Data Sender +
key-scoped KV Crypto User on agent-seal) is applied in a single
idempotent deploy.
Usage:
.\Deploy-Azure.ps1 -EnvironmentName dev3 \`
-HybridAgentPrincipalId <agent-sp-object-id>
Verified on dev3: agent SP c1460adb-... now has Sender on
dek-sealed-batches queue and Crypto User on the blkmon-agent-seal key
(both least-privilege scoped).
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 2f5a25c commit ada1441
1 file changed
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
| 76 | + | |
76 | 77 | | |
77 | 78 | | |
78 | 79 | | |
| |||
157 | 158 | | |
158 | 159 | | |
159 | 160 | | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
160 | 164 | | |
161 | 165 | | |
162 | 166 | | |
| |||
165 | 169 | | |
166 | 170 | | |
167 | 171 | | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
168 | 175 | | |
169 | 176 | | |
170 | 177 | | |
| |||
0 commit comments