• Register

Obtain a JWT for MQTT broker

Follow the instructions below in order to obtain a JWT for Akamai broker

  • Retrieve an Access Token with your Application Key and Secret Key for certificate manager API. Click here for further details.
  • Access Token retrieved needs to be part of the request to obtain a JWT token from Certificate Manager Api. Please click here and refer "Access Token" section to know more.
  • Build a POST Request to the Certificate Resource
  • Receive a response with your JWT, clientID (which needs to be used while connecting to mqtt broker) and endpoint. An example response is provided below.

Code snippet: JSON

POST
{    
	 "CertificateManagementResource": 
	 {
        	 "CertificateManagement": 
		 {
             		"javaWebToken": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE2Mzc1Njc5ODIsImNsaWVudElEIjoibm90aWZpY2F0aW9uVG9NUVRUIiwiY3JlYXRlZCI6MTU3NDQwOTU4MiwiYXV0aEdyb3VwcyI6ImZsdXBQdWJUb3BpYztmbHVwU3ViVG9waWMifQ.BCxHoU_KD5ZZhgLpfOdqdjbuAJ-suGZsKpi5GbS0U6W8NbGLEDF9PNtpF2cTl-5puZJSMCkCZ_oVd2bw8wlKqIhd5rsaufNpS9x1xvPxBqn-CFH4GROrgWxWDZC2zW3i32wGA6CVQKJngJokh0l6tRUqblaIsMo5B4TIGdSCfDachvr_OTgyHtVHFrPer2YfVxmy6dixsjVzQLcnc3ZpsO3YUMOr1Itzf7gEiUIMgJS8ihgrMkrkzKjzVfnelvyx51FrgMoK4hFh7DZlyNu1aNop0_NZG87q6Wd-sfm9uX1u0PISArXUIdxV0R9jIrLS7Ya6hAjDMCKBoN8OVkxLcw",
			"clientID": "test_241130757", 
	             	"endpoint": "lhgopenapi.lufthansa.com"
         	 }
     	 }
 }

Docs Navigation