Skip to main content

Celonis Product Documentation

Change Package Keys using Content-Cli

The package key is the unique identifier for a package in Studio. This key is set when a package is created and cannot be changed afterwards, not inside Studio. The key is visible in Studio in the Package Settings or via the context menu. When you use the content-cli to pull a package, the key is used to identify the package.

When do I need to change the package key?

In general, you do not have to change the key of the package. Cases, when you might want to, are

  • you want to distribute the package via the Marketplace (which means, in all installations inside customer teams, this key will be visible) and you do not like the name you have given to the package

  • the package key contains confidential information and you would like to change that

How can I change the Package Key?
Define a new package key

You can use the --newKey option with the pull package command to define a new key for the package, like in the following example:

Pull package with new package key

content-cli pull package --profile my-profile-name --key ap-operational-app --newKey operational-app-package

You can use the --newKey option with the push package command too, like in the following example:

Push single package with new package key

content-cli push package --profile my-other-profile --file package_ap-operational-app.zip --newKey operational-app-package