Skip to navigation

Create Gateway Installer Config

Beta

Issue the certificate a LOCAL gateway authenticates with, and return it with its private key and the rest of the configuration the gateway installer needs.

The private key isn't stored, so it's returned only by this request, and a gateway's certificate can be issued only once. Issuing it for a gateway that already has one is a conflict.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

gateway_idstringRequired
ID of the Gateway.

Headers

EARLY-ACCESSstringOptional

Set to true to access beta operations via /api/v3.

Request

This endpoint expects an object.

Response

OK
awsRegionstring or nullOptional
The AWS region the Gateway connects to.
certificatePemstring or nullOptional

The PEM-encoded certificate the Gateway authenticates with.

iotCredentialsEndpointstring or nullOptional
The AWS IoT credentials endpoint the Gateway gets credentials from.
iotDataEndpointstring or nullOptional
The AWS IoT data endpoint the Gateway connects to.
iotRoleAliasstring or nullOptional
The AWS IoT role alias the Gateway uses to get credentials.
privateKeystring or nullOptional

The PEM-encoded private key of the Gateway’s certificate. Store it securely.

Errors

400
Bad Request Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error
429
Too Many Requests Error
500
Internal Server Error