π key
Copy a setup prompt with the install steps and the full markdown guide for this plugin.
π Manage encryption keys for secure bundle distribution in Capgo Cloud, supporting end-to-end encryption with RSA and AES combination.
πΉ Save
Section titled β πΉ Saveβnpx @capgo/cli@latest key saveπΎ Save the public key in the Capacitor config, useful for CI environments. Recommended not to commit the key for security.
Example:
npx @capgo/cli@latest key save --key ./path/to/key.pubOptions:
| Param | Type | Description |
|---|---|---|
| -f, | string | Force generate a new one |
| βkey | string | Key path to save in Capacitor config |
| βkey-data | string | Key data to save in Capacitor config |
π¨ Create
Section titled β π¨ Createβnpx @capgo/cli@latest key createπ¨ Create RSA key pair for end-to-end encryption. Creates .capgo_key_v2 (private) and .capgo_key_v2.pub (public) in project root. Public key is saved to capacitor.config for mobile app decryption. NEVER commit the private key - store it securely!
Example:
npx @capgo/cli@latest key createOptions:
| Param | Type | Description |
|---|---|---|
| -f, | string | Force generate a new one |
ποΈ Delete_old
Section titled β ποΈ Delete_oldβ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:
npx @capgo/cli@latest key delete_oldKeep going from key
Section titled βKeep going from keyβIf you are using key to plan security and compliance, connect it with Encryption for the implementation detail in Encryption, Compliance for the implementation detail in Compliance, Capgo Security Scanner for the product workflow in Capgo Security Scanner, Capgo Security for the product workflow in Capgo Security, and Capgo Trust Center for the product workflow in Capgo Trust Center.