<!--
{
  "availability" : [
    "iOS: 27.3.0 -",
    "iPadOS: 27.3.0 -",
    "macCatalyst: -",
    "macOS: 27.3.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "IdentityDocumentServices",
  "identifier" : "/documentation/IdentityDocumentServices/DigitalCredentialsQuery/CredentialSetQuery/init(options:isRequired:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "IdentityDocumentServices"
    ],
    "preciseIdentifier" : "s:24IdentityDocumentServices23DigitalCredentialsQueryV013CredentialSetF0V7options10isRequiredAESayShySSGG_Sbtcfc"
  },
  "title" : "init(options:isRequired:)"
}
-->

# init(options:isRequired:)

Initializes a credential set query.

```
init(options: [Set<String>], isRequired: Bool = true)
```

## Parameters

`options`

Sets of credential query identifiers, any one of which satisfies a grouping.

`isRequired`

A Boolean that specifies whether a grouping must be satisfied.

---

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)