Passer au contenu

🔐 key

🔐 Manage Chiffrement keys for secure Bundle distribution in Capgo Cloud, supporting end-to-end Chiffrement with RSA and AES combination.

Terminal window
npx @capgo/cli@latest key save

💾 Enregistrer the public key in the Capacitor config, useful for CI environments. Recommended not to commit the key for Sécurité.

Example:

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

Options:

ParamTypeDescription
-f,stringForce generate a Nouveau one
—keystringKey path to Enregistrer in Capacitor config
—key-datastringKey data to Enregistrer in Capacitor config
Terminal window
npx @capgo/cli@latest key create

🔨 Créer RSA key pair for end-to-end Chiffrement. Creates .capgo_key_v2 (private) and .capgo_key_v2.pub (public) in project root. Public key is saved to capacitor.config for mobile Application decryption. NEVER commit the private key - store it securely!

Example:

Terminal window
npx @capgo/cli@latest key create

Options:

ParamTypeDescription
-f,stringForce generate a Nouveau one
Terminal window
npx @capgo/cli@latest key delete_old

🧹 Supprimer the old Chiffrement key from the Capacitor config to ensure only the current key is used.

Example:

Terminal window
npx @capgo/cli@latest key delete_old