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

identity/commonschema: add support for SystemOrSingleUserAssignedIdentity #164

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

WodansSon
Copy link
Contributor

@WodansSon WodansSon commented Mar 29, 2023

This variant of the existing SystemOrUserAssignedIdentity is needed due to the identity implementation within the Databricks service.

NOTE: The swagger definition of this resource and the RP implementation of the said swagger do not align (e.g. identity_ids is a map[] while the RP will only accept a single identity_id). The Type, per the swagger, is SystemAssigned , UserAssigned or SystemAssigned, UserAssigned). However, if you send the RP the SystemAssigned, UserAssigned Type the RP returns a 400 : BadRequest error stating that the Type must be SystemAssigned or UserAssigned but not both.

Additional: My gut instinct about this discrepancy between the swagger and the actual RP behavior is that the service team didn't want to reinvent the wheel and took an existing swagger definition that was very close to what they wanted and then customized it for their particular usage in their service. Is that the correct? Personally I would say no, but this is actually a fairly common practice among the service teams as swagger management is rather painful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant