<!--
{
  "availability" : [
    "iOS: 15.0.0 -",
    "iPadOS: 15.0.0 -",
    "macCatalyst: 15.0.0 -",
    "macOS: 13.0.0 -",
    "tvOS: 16.0.0 -",
    "visionOS: 1.1.0 -",
    "watchOS: 10.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "DeviceManagement",
  "identifier" : "/documentation/DeviceManagement/AssetCredentialUserNameAndPasswordReferenceObject",
  "metadataVersion" : "0.1.0",
  "role" : "Object",
  "symbol" : {
    "kind" : "Object",
    "modules" : [
      "Device Management"
    ],
    "preciseIdentifier" : "rmdm-declarations:AssetCredentialUserNameAndPasswordReferenceObject"
  },
  "title" : "AssetCredentialUserNameAndPasswordReferenceObject"
}
-->

# AssetCredentialUserNameAndPasswordReferenceObject

The external reference. Ensure that the asset data:

```
object AssetCredentialUserNameAndPasswordReferenceObject
```

## Discussion

- Is a JSON document that represents the `com.apple.credential.usernameandpassword` credential type
- Uses a media type of `application/json`, and if it includes a `ContentType` sub-key, that sub-key media type is also `application/json`

---

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)