storage

Type Object
Mandatory No
Manifest version 2 or higher
Example
json
"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.

Note: 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

BCD tables only load in the browser

Note:

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.