---
title: kSecAttrCanDerive
framework: security
role: symbol
role_heading: Global Variable
path: security/ksecattrcanderive
---

# kSecAttrCanDerive

A key whose value is a Boolean that indicates whether the cryptographic key can be used for derivation.

## Declaration

```swift
let kSecAttrCanDerive: CFString
```

## Discussion

Discussion The corresponding value is of type CFBoolean and indicates whether this cryptographic key can be used to derive another key. On key creation, if not explicitly specified, this attribute defaults to kCFBooleanTrue.
