<!--
{
  "availability" : [
    "iOS: 14.0.0 -",
    "iPadOS: 14.0.0 -",
    "macCatalyst: 14.0.0 -",
    "macOS: 10.15.0 -",
    "tvOS: 14.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 7.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CryptoTokenKit",
  "identifier" : "/documentation/CryptoTokenKit/TKToken/configuration-swift.property",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "CryptoTokenKit"
    ],
    "preciseIdentifier" : "c:objc(cs)TKToken(py)configuration"
  },
  "title" : "configuration"
}
-->

# configuration

The current configuration for a token.

```
var configuration: TKToken.Configuration { get }
```

## Discussion

Access keychain items exported by this token with the methods [`key(for:)`](/documentation/CryptoTokenKit/TKToken/Configuration-swift.class/key(for:)) and [`certificate(for:)`](/documentation/CryptoTokenKit/TKToken/Configuration-swift.class/certificate(for:)) provided by the configuration. You can access token-implementation-specific additional data using the [`configurationData`](/documentation/CryptoTokenKit/TKToken/Configuration-swift.class/configurationData) property of the configuration.

---

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)