You are on the editable version of MDN Web Docs

View as an MDN Web Docs user: https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/manifest.json/storage

Type Object
Mandatory No
Example
"storage": {
  "managed_schema": "schema.json"
}

Use the storage key to specify the name of the schema file that defines the structure of data in managed storage.

Managed data declares the enterprise policies supported by the app. Policies are analogous to options but are configured by a system administrator instead of the user, enabling the app to be configured for all users of an organization.

After declaring the policies they are read from the storage.managed API. However, if a policy value does not conform to the schema then it is not published by the storage.managed API. It's up to the app to enforce the policies configured by the administrator.

Firefox does not define a schema for managed storage, see storage.managed for more details.

The storage key is an object that has the following required property:

managed_schema

A String specifying the full path of the file within the extension that defines the schema of the manage storage.

Browser compatibility

Update compatibility data on GitHub
DesktopMobile
ChromeEdgeFirefoxOperaSafariFirefox for Android
storageChrome Full support YesEdge Full support 79Firefox No support NoOpera No support NoSafari Full support 14Firefox Android No support No
managed_schemaChrome Full support YesEdge Full support 79Firefox No support NoOpera No support NoSafari Full support 14Firefox Android No support No

Legend

Full support  
Full support
No support  
No support

Acknowledgements

This page includes details from the Chrome developer website page Manifest for storage areas included here under the Creative Commons Attribution 3.0 United States License.

Document Tags and Contributors

Contributors to this page: rebloor
Last updated by: rebloor,