Public Key

Path:/public/v3/public-key - Get the current default Public Key
Path:/public/v3/public-key/{keyId} - Get the Public Key where {keyId} is a path parameter

A Public Key request is made to obtain the public key from the LaunchKey API. There are two ways to call the public key endpoint. You can specify a Key ID and retrieve a specific Public Key. You can also specify no key ID and retrieve the default Public Key.

GET

Request

The request has no query parameters and the following path parameter:

keyId (string):The Key ID of the Pubic Key you wish to retrieve

Default Key Example:

GET /public/v3/public-key HTTP/1.1
Host: api.launchkey.com

Specific Key Example:

GET /public/v3/public-key/d2:8e:16:91:39:5b:9d:24:73:0e:36:0a:9a:ef:7e:de HTTP/1.1
Host: api.launchkey.com

Response

The response contains a PEM formatted Public Key file with the following headers:

X-IOV-KEY-ID:Key ID corresponding to the Public Key that is the body of the response
Content-Type:application/x-pem-file

Example:

HTTP/1.1 200 OK
Content-Type: application/x-pem-file
Content-Length: 799
X-IOV-KEY-ID: d2:8e:16:91:39:5b:9d:24:73:0e:36:0a:9a:ef:7e:de
X-IOV-JWT: eyJhbGciOiJSUzUxMiIsInR5cCI6IkpXVCIsImtpZCI6ImQyOjhlOjE2OjkxOjM5OjViOjlkOjI0OjczOjBlOjM2OjBhOjlhOmVmOjdlOmRlIn0.eyJhdWQiOiJwdWJsaWMiLCJpc3MiOiJsa2EiLCJjdHkiOiJhcHBsaWNhdGlvbi9qc29uIiwibmJmIjoxNTEyMDA0MTk2LCJqdGkiOiJjNDFjZDM0YS1lYzBjLTQxOWQtYTczZC1hNjRhNTk4YTVkMzYiLCJleHAiOjE1MTIwMDQyMDEsImlhdCI6MTUxMjAwNDE5NiwicmVzcG9uc2UiOnsic3RhdHVzIjoyMDAsImhhc2giOiJlNWMzMWJmZjAxZjY2YmU5M2ZiNjk1MWFkYjJkZTEyNjI0MmZhZTA2NjJhYzZkMTgyMTdjMGYxNzc0ZTJhMGJhIiwiZnVuYyI6IlMyNTYifSwic3ViIjpudWxsfQ.LT6FxzwvESg73u5cvzGYrRvdp8_Fab0fqmo4XcBgr1Qqvp-zqhXpf1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VirLzWJx
1Ztn7Ti8qe3ePbXHF2W/+9T+udhROQNv3pJsGp7dxG3WxZB2l16v2cir0nv+jZti
JaXPf+seoEup2RckvCWhalpnUeXSJE339CkFAN1uTkvXgMWr5XRNuxBsRhz8pnLT
TxrmsAS6Onkyjhl/+ihxJasCTpN69jmwqxSFNmStzXFz6LjqUtiPIeMdiCn9dFrD
Gb2x+XCOpvFR9q+9RPP/bZxnJPmSPbQEcrjwhLerDL9qbwgHnGYXdlM9JaYYkG5y
2ZzlVAZOwr81Y9KxOGFq+w8CAwEAAQ==
-----END PUBLIC KEY-----

User Contributed

LaunchKey links to user contributed code as a resource to its community. LaunchKey does not in any way guarantee or warrant the quality and security of these code bases. User contributed code is supported by the creators. If you do find a link from the site to user contributed code that is malicious or inappropriate in any way, please report that link to LaunchKey immediately and we will investigate the claim. Submit any issue to LaunchKey support at https://launchkey.com./support. ×