Provisioning JetBrains activation code for offline use

An activation code for offline use is a file with a license code that can be retrieved from the license management section of your JetBrains account for the license that is assigned to you. When you purchase a personal subscription or are assigned a commercial subscription by your organization, you receive an email prompting you to create a JetBrains account that becomes connected with the license.

When using an activation code to activate a product, you need to generate a new activation code and apply it to your product each time the subscription is renewed.
  • JetBrains account

  • Personal or organization subscription

  1. Retrieve the activation code from the JetBrains account:

    jetbrains account

    JetBrains provides a zip archive with two types of the activation code. Use the <License ID> - for 2018.1 or later.txt file:

    activation code
  2. Provision the activation code for offline use with Che. This procedure is performed through the Kubernetes Secrets.

  3. Create a Kubernetes Secret to instruct Che to mount the activation code into a container based on JetBrains specific product:

    apiVersion: v1
    kind: Secret
      name: <secret name> (1)
      labels: workspace-secret
      annotations: 'false' /tmp/ file
      <product name (ideaIU or WebStorm)>.key: <base64-encoded data content> (2)
    1 <secret name> – The section that specifies the secret name. It may have a different name, for example, ideaiu-offline-activation-code. Provide the secret name in lowercase.
    2 Product name and activation code:
    • <product name (ideaIU or WebStorm)> – Replace with the JetBrains product name. See section JetBrains product-name mapping.

    • <base64-encoded data content> – The activation code content encoded in base64.

Use the automount-workspace-secret option set to false to disable the mounting process until it is explicitly requested in a devfile component using the automountWorkspaceSecrets:true property. See the workspace.yaml example file above. This is the default behavior to avoid mounting the activation code into every container except specific ones that have to work with it.

As a result, in the Che Editor, the file with the activation code for offline use is mounted to the /tmp/ideaIU.key or /tmp/WebStorm.key path (or similar - based on the type of the build).

IntelliJ Idea Community Edition does not require this procedure. This has to be done for JetBrains products that need to be registered.

JetBrains product-name mapping

This section provides mapping used internally between JetBrains products and the product name during image build.

JetBrains Product PRODUCT_NAME

IntelliJ Idea Community Edition


IntelliJ Idea Ultimate Edition