Skip to main content

Overview

A DAS data source provides an API for reading and writing JSON data that can be imported and used to make policy decisions. A data source can be added to systems, so that data and the policies that utilize it can be shared however is appropriate. The data is versioned and stored compactly with a delta-encoding to handle large and frequently changing JSON. When you create a data source you must choose a unique, hierarchical name similar to the way you choose a unique hierarchical package name when you create a new policy.

The data source name is used in the following two ways:

  1. The data source name allows you to reference the data provided by the data source from within a policy, similar to the way you use a policy's package name to refer to it.

  2. The data source name is embedded within the Styra DAS API that you use to read or write that JSON data.