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

Allow updating of app role by ignoring local_secret_ids #336

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

molteber
Copy link

This PR fixes #335 by creating a new Model for AppRole roles when updating a role.

When updating a role, we ignore the LocalSecretIds property from being serialized to json.
As an extra measure; the compiler will throw an error when using LocalSecretIds when using the update model.

Morten Mehus added 2 commits November 17, 2023 09:06
UpdateAppRoleRoleModel's job is to stop people from using
`LocalSecretIds` when updating a role. This is not a valid property when
updating a role and will result in an error on the API if using it

Making the Obsolete attribute give a compiler error when using the
property
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.

Unable to update an approle after creation
1 participant