Skip to main content

appflow live-update generate-signing-key

info

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

[appflow, live-update, generate-signing-key]

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

appflow live-update generate-signing-key [flags]

Examples

appflow live-update generate-signing-key --public appflow_public.pem --private appflow_private.pem

Flags

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

Global Flags

NameTypeDefaultDescription
-h, --helpbooleanfalsePrint help information for command
--configstringAppflow config file (.appflow.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": "appflow_public.pem",
"privateKey": "appflow_private.pem"
}
Failed Output
{
"status": "FAILED",
"publicKey": "",
"privateKey": ""
}