---
title: "init(_:)"
framework: authenticationservices
role: symbol
role_heading: Initializer
path: "authenticationservices/asauthorizationpublickeycredentialresidentkeypreference/init(_:)"
---

# init(_:)

Creates the object with a preference.

## Declaration

```swift
init(_ rawValue: String)
```

## Parameters

- `rawValue`: The key storage preference.

## See Also

### Creating the preference

- [init(rawValue:)](authenticationservices/asauthorizationpublickeycredentialresidentkeypreference/init(rawvalue:).md)
