> ## Documentation Index
> Fetch the complete documentation index at: https://docs.crossmint.com/llms.txt
> Use this file to discover all available pages before exploring further.

# ApiKeySigner

> Swift Class

**Class**

```swift theme={null}
class ApiKeySigner
```

## Initializers

### init(adminSigner:)

```swift theme={null}
init(adminSigner: ApiKeySignerData = ApiKeySignerData())
```

## Instance Properties

### adminSigner

Inherited from `Signer.adminSigner`.

```swift theme={null}
let adminSigner: ApiKeySignerData
```

### signerType

Inherited from `Signer.signerType`.

```swift theme={null}
nonisolated let signerType: SignerType
```

## Instance Methods

### approvals(withSignature:)

Inherited from `Signer.approvals(withSignature:)`.

```swift theme={null}
func approvals(withSignature signature: String) async throws(SignerError) -> [SignRequestApi.Approval]
```

### initialize(\_:)

Inherited from `Signer.initialize(_:)`.

```swift theme={null}
func initialize(_ service: (any SmartWalletService)?) async throws(SignerError)
```

### sign(message:)

Inherited from `Signer.sign(message:)`.

```swift theme={null}
func sign(message: String) async throws(SignerError) -> String
```

## Type Aliases

### ApiKeySigner.AdminType

Inherited from `Signer.AdminType`.

```swift theme={null}
typealias AdminType = ApiKeySignerData
```
