Models

PolicyImports

object

Policy imports containing one policy import for each key. The key is the policy ID of the referenced policy.

policyImport1PolicyImport

Single policy import defining which policy entries of the referenced policy are imported.

Show child attributes
entriesArray<string>

The policy entries to import from the referenced policy identified by their labels. In case the field is omitted or an empty array is provided, all policy entries defined as implicit ("importable": "implicit") are imported.

transitiveImportsArray<string>

List of policy IDs from the imported policy's own imports that should be resolved transitively before extracting entries. This enables multi-level import chains where a template policy defines resources and an intermediate policy defines entries with "references" that add local subjects.

Each entry is the policy ID of a policy that the directly imported policy itself imports from. Only the listed policy IDs are resolved — this is an explicit whitelist, not a recursive flag.

Example
[
  "org.eclipse.ditto:policy-template"
]
Example
{
  "entries": [
    "default",
    "import"
  ]
}
policyImportNPolicyImport

Single policy import defining which policy entries of the referenced policy are imported.

Show child attributes
entriesArray<string>

The policy entries to import from the referenced policy identified by their labels. In case the field is omitted or an empty array is provided, all policy entries defined as implicit ("importable": "implicit") are imported.

transitiveImportsArray<string>

List of policy IDs from the imported policy's own imports that should be resolved transitively before extracting entries. This enables multi-level import chains where a template policy defines resources and an intermediate policy defines entries with "references" that add local subjects.

Each entry is the policy ID of a policy that the directly imported policy itself imports from. Only the listed policy IDs are resolved — this is an explicit whitelist, not a recursive flag.

Example
[
  "org.eclipse.ditto:policy-template"
]
Example
{
  "entries": [
    "default",
    "import"
  ]
}
Example
{
  "com.acme:policyId1": {
    "entries": [
      "label1",
      "label2"
    ]
  },
  "com.acme:policyId2": {
    "entries": [
      "import"
    ]
  },
  "com.acme:policyId3": {}
}