1e41f4b71Sopenharmony_ci# HUKS Changelog 2e41f4b71Sopenharmony_ci 3e41f4b71Sopenharmony_ci## cl.huks.1 Change of the Permission for Using attestKeyItem 4e41f4b71Sopenharmony_ci 5e41f4b71Sopenharmony_ciThe **attestKeyItem** interface attests a key using a public key encapsulated based on the device certificate chain. Any arbitrary export of the device certificate increases the risks on user privacy. Therefore, certain permissions are required for using this interface. 6e41f4b71Sopenharmony_ci 7e41f4b71Sopenharmony_ci**Change Impact** 8e41f4b71Sopenharmony_ci 9e41f4b71Sopenharmony_ciApplications without the **ohos.permission.ACCESS_IDS** permission or the system_basic or system_core permission cannot call **attestKeyItem()**. 10e41f4b71Sopenharmony_ci 11e41f4b71Sopenharmony_ci**Key API/Component Changes** 12e41f4b71Sopenharmony_ci 13e41f4b71Sopenharmony_ci- Involved APIs: 14e41f4b71Sopenharmony_ci 15e41f4b71Sopenharmony_ci attestKeyItem(keyAlias: string, options: HuksOptions, callback: AsyncCallback\<HuksReturnResult\>): void; 16e41f4b71Sopenharmony_ci attestKeyItem(keyAlias: string, options: HuksOptions): Promise\<HuksReturnResult\>; 17e41f4b71Sopenharmony_ci 18e41f4b71Sopenharmony_ci- Before change: 19e41f4b71Sopenharmony_ci 20e41f4b71Sopenharmony_ci The AccessToken permission is verified only for the applications that pass in a tag related to **ATTESTATION_ID**. 21e41f4b71Sopenharmony_ci 22e41f4b71Sopenharmony_ci 23e41f4b71Sopenharmony_ci- After change: 24e41f4b71Sopenharmony_ci 25e41f4b71Sopenharmony_ci **attestKeyItem()** can be called only by a system application with the system_basic or system_core permission or an application with the **ohos.permission.ACCESS_IDS** permission. 26e41f4b71Sopenharmony_ci 27e41f4b71Sopenharmony_ci**Adaptation Guide** 28e41f4b71Sopenharmony_ci 29e41f4b71Sopenharmony_ciApplications with the system_basic or system_core permission can call **attestKeyItem()**. If an application with the normal permission needs to call **attestKeyItem()**, it must have the **ohos.permission.ACCESS_IDS** permission. For details about how to apply for the permission, see [ACL](../../../application-dev/security/accesstoken-overview.md#acl). 30e41f4b71Sopenharmony_ci 31