Home > front end >  Limitations of Key and Label for Azure App Configuration
Limitations of Key and Label for Azure App Configuration

Time:04-19

I started using Azure App Configuration service and Feature Flags functionality in my project. I am using the Azure portal to create the feature flag with some name and label. When I enter long feature flag name I get the following error enter image description here

The error does not specify the limitation around the use of name and the label of the feature flag. I tried to find in the Azure documentation but couldn't locate it. How can I get these limitation?

CodePudding user response:

The App Configuration server side does not enforce any restriction on creating a feature flag. It's the same as creating a regular key-value. The error you showed is not from App Configuration, but from your code. It will be helpful if you can share the actual error from App Configuration.

A regular key-value becomes a feature flag by following a convention, which you can find in the link below: https://github.com/Azure/AppConfiguration/tree/main/docs/FeatureManagement

CodePudding user response:

There's a limit of 10 KB for a single key-value, including attributes such as label, content-type, tags, and other metadata.

This limit should be sufficient for a single setting in most applications. If you find that your setting is larger than this limit, you may consider storing your data elsewhere and add a reference of that data in App Configuration.

Reference.

  • Related