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

credentialSets does not support creation of 'UserAssigned' resource identity #790

Open
tobiasholzner-whiteduck opened this issue Nov 10, 2024 · 2 comments
Assignees
Labels
feature-artifact-sync Issues related to Artifact Sync feature feature-request Issues that request new features triaged Use after the issue is triaged

Comments

@tobiasholzner-whiteduck

Describe the bug
I want to create a credentialSets resource with a UserAssigned identity using Bicep.

Bicep template: https://learn.microsoft.com/en-us/azure/templates/microsoft.containerregistry/registries/credentialsets?pivots=deployment-language-bicep

Error:

Resource type 'Microsoft.ContainerRegistry/registries/credentialSets' does not support creation of 'UserAssigned' resource identity. The supported types are 'SystemAssigned'

To Reproduce

resource dockerHubCredentialSetResource 'Microsoft.ContainerRegistry/registries/credentialSets@2023-01-01-preview' = {
  name: 'dockerhub'
  parent: acrResource
  identity: {
    type: 'UserAssigned'
    userAssignedIdentities: {
      'XXXX': {}
    }
  }
  properties: {
    authCredentials: [
      {
        name: 'dockerhub'
        passwordSecretIdentifier: 'https://XXXX'
        usernameSecretIdentifier: 'https://XXXX'
      }
    ]
    loginServer: 'docker.io'
  }
}

Expected behavior
The resource gets created

@ChrisSidebotham
Copy link

@JXavierMSFT - Can you provide an update?

@toddysm toddysm added feature-request Issues that request new features feature-artifact-sync Issues related to Artifact Sync feature triaged Use after the issue is triaged and removed bug Feature bugs that should be fixed. labels Jan 9, 2025
@JXavierMSFT
Copy link

Hey @ChrisSidebotham

Thank you for submitting this feature request. We are evaluating this ask, I will update this thread when we have made a decision.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-artifact-sync Issues related to Artifact Sync feature feature-request Issues that request new features triaged Use after the issue is triaged
Projects
None yet
Development

No branches or pull requests

4 participants