Skip to main content

Managing Application Deployment Profiles

A deployment profile is a configuration blueprint for one environment. It holds the variables, workflows, logging behavior, and access rules an application uses when it runs there, so the same application deploys consistently to development and production without reconfiguring it each time.

Before you begin​

  • You need permission to create deployment profiles in the workspace. Setting a profile as the default for its environment requires a separate permission. Both are workspace permissions: having access to the application, or having created it, is not enough. If the workspace belongs to someone else, they grant it. See Grant permission to create profiles.
  • Profiles are only available in private workspaces. In a public workspace the Profiles button is disabled, with the tooltip Profiles are not supported for public workspaces.
  • Deploy the application at least once. Profiles load their variables and workflows from the latest deployment, so profile creation is blocked until one exists.

Create a profile​

  1. Open the application in a private workspace.
  2. Select Profiles in the application toolbar at the top of the page. The Profiles panel opens.
  3. Select Create a new Profile.
  4. Enter a Profile Name, such as Dev or Prod.
  5. Select the Environment the profile applies to, such as Development.
  6. Optionally, enter a Description.
  7. Optionally, set the profile as the Default for its environment.
  8. Select Create profile.

Variables and workflows load automatically from the latest deployment.

How you know it worked​

The profile appears in the Profiles panel under its name. Use Search Profiles to find it once the list grows.

When it does not work​

MessageCauseWhat to do
Profile name is required.The Profile Name field is empty.Enter a name.
Profile name should not contain special charactersThe name contains characters that are not allowed.Use letters, numbers, and spaces.
Profile with that name already exists.Another profile in the application uses this name.Choose a different name.
The + button, Create profile, or the create-form save button is disabled, with no messageYou do not have permission to create deployment profiles in this workspace.Ask the workspace owner or an administrator to grant it. See Grant permission to create profiles.
Use this profile as default for the environment is disabledYou do not have permission to set a default profile.Ask the workspace owner or an administrator to grant it.
Edit or View on a profile is disabled, with You don't have permission for this actionYou have not been given access to that profile. Workspace permissions do not cover it.Ask the profile's owner to add you to the profile. See Configure access.
Profiles is disabledThe workspace is public, or no application is open.Open an application in a private workspace.

Grant permission to create profiles​

Permission to create profiles, and to set a default profile, belongs to the workspace, not the application. The workspace owner or an administrator grants it from the workspace's member settings:

  1. Go to Workspace Settings and select the Collaboration tab. The tab appears only in private workspaces.
  2. On the Members tab, select the edit icon next to the member. To grant the permission to a group, edit the team on the Teams tab instead.
  3. Under Permissions, grant the permission to create deployment profiles. Grant the permission to set a default profile as well if the member should manage defaults.
  4. Save the change.

You need permission to edit workspace members to do this. Without it, the edit icon shows You don't have the access to edit workspace member. For more on members and teams, see Workspace General Settings.

Profiles and Git​

Profiles hold sensitive data: environment-specific variable values, secrets, and the list of who can access each environment. To keep that data out of places it could leak from, Koodisi stores profiles separately from the application's files, against the application in its workspace. Profiles are deliberately left out of the application wherever it travels:

  • They are never committed to the Git repository.
  • They are not included when you export an application, and are not created when you import one.
  • An application cloned from Git, imported, or recreated in another workspace starts with no profiles, even when its workflows are identical. Profiles created on the original application stay with the original.

This applies to the profile itself, not only its values, because a profile's name, environment, and access rules are part of the same protected configuration.

Profiles are meant to be managed by your security team, not by the developers building the application. Developers build and deploy the application; the security team owns its profiles and decides who can see or change each environment's configuration. When an application moves to Git or to another workspace, the security team recreates its profiles there.

When you move an application to Git or clone it, plan for the profiles to be recreated on the application your team works in. Whoever recreates them needs the create permission in that workspace, so arrange it with the workspace owner beforehand.

Configure variables​

Go to the Variables tab and select Add Variable. Each variable takes:

FieldNotes
NameThe variable's name.
ScopeApplication, Deployment, or Client.
ValueEditable for Deployment and Client scopes only.
DescriptionOptional.

Secret variables are masked and stored in a vault rather than in plain text. Select Choose vaults for each environment to assign client-managed vaults per environment. If none is assigned, the secret is handled by a platform-managed vault.

When a changed value takes effect​

Select Save after you edit a profile's values. You do not need to redeploy the application, but the change is not immediate: running workflows keep a cached copy of the profile for 10 minutes, so executions can use the previous values for up to 10 minutes after you save.

Wait 10 minutes before testing a changed value, for example with the X-Profile-Name header. This applies to every saved change to a profile, whether you edited a value yourself or synced the profile with the latest deployment.

MessageCauseWhat to do
The profile shows the new value, but executions still use the old oneRunning workflows cache the profile for 10 minutes.Wait 10 minutes after saving, then test again.
Executions still use the old value more than 10 minutes after savingThe cached copy was not refreshed.Contact support with the application name, the profile name, and the time you saved.

Configure logging​

Enable Logs to record all activities. With it off, logging is configurable per application and per workflow.

  • Application-level — set behavior per activity type: Always Logged, Log Input, or Log Output.
  • Per workflow — select Add Workflows, then configure logging on individual activities.

Configure access​

Every profile has an owner, and access to a profile is separate from access to the workspace or the application. Workspace permissions let a member create profiles, but they do not let anyone view, edit, or delete a profile someone else created. The profile's owner has to grant that access.

  • The member who creates a profile becomes its owner, with view, edit, and delete permissions.
  • Access is added once the profile exists. While you are creating a profile, the access tabs show Please create the profile and edit it to add permissions.

To give others access to a profile:

  1. In the Profiles panel, select Edit on the profile.
  2. On the Members tab, select Add Member, choose people under Select Members, and set their Permissions. To grant access to a group, use Add Team on the Teams tab instead.
  3. Save the change. The panel confirms with Members added to the profile or Teams added to the profile.

To change what an existing member can do, select Edit Member or Edit Team on their row. The owner's row cannot be edited or removed.

Transfer ownership​

Only the profile's owner can transfer it. Open the profile's menu in the Profiles panel, select Transfer Ownership, choose the new owner under Transfer Ownership To, and confirm. The new owner must be a member of the workspace. Anyone else who tries sees You are not authorized for this operation.

Transfer ownership before the owner leaves the team or the workspace. Otherwise, no one may be left who can grant access to the profile.

Sync with the latest deployment​

A profile does not follow the application as you edit it. It holds the variables and workflows of the deployment it was created from or last synced with. Changes you make to the application's variables, including a new variable, a removed one, or a changed scope or type, reach a profile only after you deploy the application and then sync the profile.

To bring a profile up to date:

  1. Deploy the application, so the latest deployment includes your changes.
  2. In the Profiles panel, select Edit on the profile.
  3. Select Sync with latest deployment, at the right of the tabs, and confirm with Sync. The panel shows Profile synced with latest deployment changes successfully.
  4. Review the Variables tab, then select Save. The sync is not stored until you save.

Repeat steps 2 to 4 for each profile, such as both your development and production profiles. Syncing one profile does not update the others. You need edit permission on each profile you sync.

As with any saved change to a profile, executions can use the previous values for up to 10 minutes after you save. See When a changed value takes effect.

What a sync changes​

In the latest deploymentWhat happens in the profile
A variable the profile already has, with the same typeThe profile keeps its own value. The variable takes the deployment's scope.
A variable the profile already has, with a different typeThe profile takes the deployment's variable, including its value.
A variable the profile does not haveThe variable is added with the deployment's value.
A variable the profile has is no longer presentThe variable is removed from the profile.

A variable you change to Deployment or Client scope becomes editable in the profile after the sync, so you can then set its value for that environment. The confirmation dialog says the sync replaces all variable values, but values you set in the profile are kept unless the variable's type changed.

When a sync does not work​

MessageCauseWhat to do
The profile still shows the old variables or scopes after a sync, with no messageThe application was not deployed after the change, so the latest deployment does not include it.Deploy the application, then sync again.
The profile shows the new variables, but they are gone when you reopen itThe profile was synced but not saved.Sync again and select Save.
Failed to sync profile with latest deployment, followed by No data foundThe sync failed on the platform.Retry. If it persists, contact support with the application name, the profile name, and the time of the attempt.

Use a profile when testing​

Add the X-Profile-Name header when testing a RESTService-triggered workflow, so the test runs against that profile's configuration.

info

Profile selection is no longer available in the deployment modal. Every execution specifies its profile at runtime through the header.

Important considerations​

  • Only RESTService-triggered workflows support deployment profiles.
  • Subflows executed as part of the workflow inherit the profile context.

Next steps​

Test the workflow against the profile. See Test a Workflow or API.