Skip to content

Managing keys

The Keys page in Oxrion Cloud is where you manage the keys your protected files use. There are three kinds, each for a different job. Understanding them makes the rest of Oxrion click into place.

A license key binds a protected file to your end-customer’s license. When you encode a file as Licensed, you choose a license key for it; later you use the same key in the License Manager to issue a .lic for a specific domain and expiry.

  • Generated for you as a secure random value, or enter your own.
  • You give each key a name (e.g. the customer or product it’s for) so you can tell them apart.

You’ll typically create one license key per customer or product line. Deleting a license key doesn’t break files already encrypted with it — but you won’t be able to issue new licenses for that key.

An external key is what makes Private access work. When you encode a file as Private, it requires the matching external key to be present on the server at runtime — provided through an environment variable or php.ini.

  • Generated for you, or enter your own.
  • Named, so you can manage several across different deployments.

Without the external key on the server, a private file will not run — even with the Loader installed. This is what lets you restrict your code to servers you authorize. See External keys for setting one up on a server.

A recovery keypair is what lets you restore a protected file back to its original source later. This is a true keypair — a public key and a private key — and how they’re handled is central to Oxrion’s design.

When you create a keypair, Oxrion stores only the public key. The private key is shown to you once, downloaded immediately, and never kept by Oxrion.

You can also bring your own key: paste a public key you already hold and keep its private key entirely on your side. Either way, only the public key lives in Oxrion; the private key stays with you.

  1. Create (or add) a recovery keypair on the Keys page.
  2. When encoding, turn on Recovery and pick that keypair’s public key.
  3. Later, restore the file to source in Recovery by providing the matching private key.

Because the private key is yours alone, only you can recover your files. This is a deliberate trade-off: maximum safety against key leaks, in exchange for you being responsible for keeping the private key safe.

Each key controls a different thing, and keeping them separate keeps each job clean:

KeyPurposeStored by Oxrion?
License keyBind a file to a customer’s license (domain + expiry)Yes
External keyRequired on the server to run a private fileYes
Recovery keypairRestore a protected file back to sourcePublic key only — never the private key