Skip to content

๐Ÿ” key

๐Ÿ” Manage encryption keys for secure bundle distribution in Capgo Cloud, supporting end-to-end encryption with RSA and AES combination.

๐Ÿ”น Save

Terminal window
npx @capgo/cli@latest key save

๐Ÿ’พ Save a base64 encryption key in the Capacitor config, useful for CI environments. Recommended not to commit the key for security.

Example:

Terminal window
npx @capgo/cli@latest key save --key ./path/to/key

Options:

ParamTypeDescription
-f,stringForce generate a new one
โ€”keystringKey path to save in Capacitor config
โ€”key-datastringKey data to save in Capacitor config

๐Ÿ”จ Create

Terminal window
npx @capgo/cli@latest key create

๐Ÿ”จ Create a new encryption key pair for end-to-end encryption in Capgo Cloud. Do not commit or share the private key; save it securely.

Example:

Terminal window
npx @capgo/cli@latest key create

Options:

ParamTypeDescription
-f,stringForce generate a new one

๐Ÿ—‘๏ธ Delete_old

Terminal window
npx @capgo/cli@latest key delete_old

๐Ÿงน Delete the old encryption key from the Capacitor config to ensure only the current key is used.

Example:

Terminal window
npx @capgo/cli@latest key delete_old