> ## 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)
```

## Instance Properties

| Property | Type | Description |
| - | - | - |
| `adminSigner` | `ApiKeySignerData` | Inherited from `Signer.adminSigner`. |
| `signerType` | `SignerType` | Inherited from `Signer.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 `ApprovalSigner.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
```
