public
KMS
Get app encryption pubkey
Changed onRetrieve the public key for encrypting environment variables before deployment.
get/api/v1/kms/{kms_id}/pubkey/{app_id}
Request
- Base URLhttps://cloud-api.phala.com
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
app_idstring required
40-character hex string, with or without 0x prefix
kms_idstring required
KMS contract slug
Headers
X-Phala-Versionstring nullable
Response
Successful Response
unknown required
Changes
- info
api tag
publicadded - info
added the new optional
headerrequest parameterX-Phala-Version
- info