Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Microsoft.KeyVault/vaults/accessPolicies]: does not have types available #2224

Open
1 task done
karl-petter-sj opened this issue Jul 12, 2024 · 0 comments
Open
1 task done

Comments

@karl-petter-sj
Copy link

Resource Type

Microsoft.KeyVault/vaults/accessPolicies

Api Version

2023-07-01

Issue Type

Type is unavailable

Other Notes

Deploying the bicep code below gives a:
Warning BCP081: Resource type "Microsoft.KeyVault/vaults/accessPolicies@2023-07-01" does not have types available.

Bicep Repro

resource accessPoliciesForSystemAssignedIdentity 'Microsoft.KeyVault/vaults/accessPolicies@2023-07-01' = {
  name: 'add'
  parent: domainCertificateKeyvault
  properties: {
    accessPolicies: [
      {
        objectId: apimgmtPrincipleId
        permissions: {
          secrets: [
            'list', 'get'
          ]
        }
        tenantId: 'xx-xx-xx...'
      }
    ]
  }
}

Confirm

  • I have read the troubleshooting guide and looked for duplicates.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Todo
Development

No branches or pull requests

1 participant