---
title: importKey
framework: webkitjs
role: symbol
role_heading: Instance Method
path: webkitjs/subtlecrypto/1631330-importkey
---

# importKey

## Declaration

```data
Promise <CryptoKey> importKey(
    KeyFormat format, 
    (BufferSource or JsonWebKey) keyData, 
    AlgorithmIdentifier algorithm, 
    boolen extractable, 
    sequence <CryptoKeyUsage> keyUsages
);
```
