nRF Connect SDK API 3.4.99
Loading...
Searching...
No Matches

◆ nrf_cloud_credentials_key_delete()

int nrf_cloud_credentials_key_delete ( uint32_t sec_tag)

#include <include/net/nrf_cloud_credentials_keygen.h>

Delete the on-device device private key for the given sec tag.

Destroys the PSA key and removes its TLS credential registration.

Parameters
sec_tagThe security tag the key is associated with.
Return values
0If successful.
Returns
A negative value indicates an error.