feat: Adds New App Configuration Field for Disabling API Keys. BED-7133 #2257
+2
−0
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Adds a new application configuration property
DisableAPIKeys.Motivation and Context
Resolves BED-7133
Why is this change required? What problem does it solve?
The change adds the
DisableAPIKeysto the Application Configuration properties; default this is turned off. This will allow a new option to be added to the configuration file to override the default value and ultimately allow for disabling the use of API Keys; this will help fulfill contractual obligations for an on-prem client.How Has This Been Tested?
Modified the build.config.json file and ran it locally using breakpoints to observe and verify the new configuration property was being added, the
DisableAPIKeyswas defaulting to false, and overwritten when the build.config.json file contained the override "disable_api_keys": true.Screenshots (optional):
Types of changes
Checklist:
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.