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

◆ nrf_cloud_sec_tag_coap_jwt_set()

void nrf_cloud_sec_tag_coap_jwt_set ( const sec_tag_t sec_tag)

#include <include/net/nrf_cloud.h>

Set the sec tag containing the private key used to sign CoAP JWTs for nRF Cloud authentication. The default sec tag value is.

CONFIG_NRF_CLOUD_COAP_JWT_SEC_TAG 

.

Note
This API requires
CONFIG_NRF_CLOUD_COAP 
to be enabled. This API only needs to be called if the default configured sec tag value is no longer applicable. This function does not perform any management of the device's authentication status with nRF Cloud.
Parameters
sec_tagThe sec tag.