question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Deployment Unsuccessful without RBAC's Key Vault

See original GitHub issue

Describe the bug Unable to deploy the platform. This is due an issue with the deployment of the KeyVault, for security purposes I require it to have RBAC (Role Based Access Control). Without this the deployment will not run in my organisation. However my team and I are struggling to find the configuration options for this in the cloned repo. Appreciate this may be a simple fix / pointer in the right direction but would be gladly appreciated.

Script ran in powershell: ./deploy.ps1 -aadConfig aad.json -branchName poc/pubsub_binary -type app

To Reproduce Steps to reproduce the behavior:

  1. Try to deploy on a managed subscription that only allows RBAC key vaults

Expected behavior The deployment to be successful.

Error Message "properties": { "statusCode": "BadRequest", "serviceRequestId": null, "statusMessage": "{\"error\":{\"code\":\"InvalidTemplateDeployment\",\"message\":\"The template deployment failed because of policy violation. Please see details for more information.\",\"details\":[{\"code\":\"AppendPoliciesUndefinedFields\",\"message\":\"Found policies that refer to an undefined field property for api-version '2016-10-01'. Fields: 'Microsoft.Keyvault/vaults/accessPolicies[*],Microsoft.Keyvault/vaults/accessPolicies[*],Microsoft.Keyvault/vaults/accessPolicies[*],Microsoft.Keyvault/vaults/accessPolicies[*],Microsoft.Keyvault/vaults/accessPolicies[*],Microsoft.Keyvault/vaults/accessPolicies[*],Microsoft.Keyvault/vaults/accessPolicies[*],Microsoft.Keyvault/vaults/accessPolicies[*]'. Policy identifiers: '[{\\\"policyAssignment\\\":{\\\"name\\\":\\\"Policy Initiative to enforce RBAC in KeyVault to meet IRM requirements\\\"

Additional context Add any other context about the problem here.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:10 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
luiscanterocommented, Sep 14, 2020

@NooraKubati We are investigating and will get back ASAP.

0reactions
luiscanterocommented, Sep 16, 2020

We will continue offline

Read more comments on GitHub >

github_iconTop Results From Across the Web

Provide access to Key Vault keys, certificates, and secrets ...
Azure App Service certificate configuration through Azure Portal does not support Key Vault RBAC permission model, but you can use Azure ...
Read more >
Azure Bicep deployment fails on Keyvault Resource
Running Bicep deployment and it fails on Keyvault resource creation. correlation id: ... I have owner RBAC role on the subscription.
Read more >
ARM Template Deployment failed due to parameter not ...
I am trying to deploy key vault resources through ARM templates. The key vault is successfully deployed, but while deploying secrets, I am ......
Read more >
Using secrets from Azure Key Vault in a pipeline
Access to a key vault requires proper authentication and authorization and with RBAC, teams can have even fine granular control who has what...
Read more >
Cert deployment into Azure Key Vault - Question
I'm having problems getting CtW pushing a staging cert into an AZ KeyVault. it's been permissioned as a Key Vault Certificates Officer and ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found