Skip to main content

ionic-cloud live-update generate-signing-key

info

This feature is only available to Enterprise customers with access to Self-hosted Live Updates.

[ionic-cloud, live-update, generate-signing-key]

Generate a public and private key pair for signing Live Updates.

ionic-cloud live-update generate-signing-key [flags]

Examples

ionic-cloud live-update generate-signing-key --public ionic_cloud_public.pem --private ionic_cloud_private.pem

Flags

NameTypeDefaultDescription
--privatestring"ionic_cloud_private.pem"File name to use for the private RSA key file.
--publicstring"ionic_cloud_public.pem"File name to use for the public RSA key file.

Global Flags

NameTypeDefaultDescription
-h, --helpbooleanfalsePrint help information for command
--configstringIonic Cloud config file (.ionic-cloud.yaml by default)
--jsonbooleanfalseFor commands with output, shortcut to print as JSON
--outputstring"text"For commands with output, print as [json] or human readable [text]
--tokenstringIonic authorization token

Outputs

NameTypeDescription
status"CREATED" | "PENDING" | "RUNNING" | "BUILDING" | "FAILED" | "SUCCESS" | "CANCELED"The status of generating the signing key pair.
publicKeystringThe relative filepath of the public key.
privateKeystringThe relative filepath of the private key.
Successful Output
{
"status": "SUCCESS",
"publicKey": "ionic_cloud_public.pem",
"privateKey": "ionic_cloud_private.pem"
}
Failed Output
{
"status": "FAILED",
"publicKey": "",
"privateKey": ""
}