<!--
{
  "availability" : [
    "iOS: 17.0.0 -",
    "iPadOS: 17.0.0 -",
    "macCatalyst: 17.0.0 -",
    "macOS: 14.0.0 -",
    "swift: 5.9.0 -",
    "tvOS: 17.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 10.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SwiftData",
  "identifier" : "/documentation/SwiftData/ModelContainer/configurations",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "SwiftData"
    ],
    "preciseIdentifier" : "s:9SwiftData14ModelContainerC14configurationsShyAA0C13ConfigurationVGvp"
  },
  "title" : "configurations"
}
-->

# configurations

The configurations that describe how to manage the persisted data for specific
groups of models.

```
var configurations: Set<ModelConfiguration> { get set }
```

## Discussion

Use this property to access or update the configurations that the container
uses to manage model data. The default value is the set of configurations
you specified when calling one of the container’s initializers.

> Important: A container must have at least one configuration. If you don’t
> specify any at initialization, the framework creates an instance of
> ``doc://com.apple.SwiftData/documentation/SwiftData/ModelConfiguration`` for you by combining your app’s entitlements with the
> type’s default values.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)