---
title: "fill(with:)"
framework: cryptotokenkit
role: symbol
role_heading: Instance Method
path: "cryptotokenkit/tktokenkeychaincontents/fill(with:)"
---

# fill(with:)

Fills the keychain with the specified items.

## Declaration

```swift
func fill(with items: [TKTokenKeychainItem])
```

## Parameters

- `items`: The items to be added to the keychain.

## Discussion

Discussion All existing items for the token are first removed from the keychain before filling the keychain with items.
