For the complete documentation index, see llms.txt. This page is also available as Markdown.

API permissions reference

Permissions for API keys

This topic describes the permissions available for API keys and service accounts in Harness.

These permissions are used by API keys to perform various actions through Harness APIs. Subsets of these permissions are applied to API keys and tokens when you create them. You can create API keys under your own account or service accounts, and the keys and tokens inherit permissions from the associated user or service account.

Account

The following permissions allow an API key to manage a Harness account's details, settings, and license.

  • View account: core_account_view

  • Edit account: core_account_edit

  • View account settings: core_setting_view

  • Edit account settings: core_setting_edit

  • View license: core_license_view

  • Edit license: core_license_edit

core_account_view and core_account_edit are only available at the account scope. The setting and license permissions are available at any scope.

Audits

The core_audit_view permission allows an API key to view audits. It is available at any scope.

CCM

The following permissions allow an API key to interact with CCM. They are only available at the account scope.

Permission ID
Description

ccm_perspective_view

View CCM Perspective

ccm_perspective_edit

Edit CCM Perspective

ccm_perspective_delete

Delete CCM Perspective

ccm_budget_view

View CCM Budgets

ccm_budget_edit

Edit CCM Budgets

ccm_budget_delete

Delete CCM Budgets

ccm_costCategory_view

View CCM Cost Category

ccm_costCategory_edit

Create/Edit CCM Cost Category

ccm_costCategory_delete

Delete CCM Cost Category

ccm_autoStoppingRule_view

View CCM Auto stopping Rules

ccm_autoStoppingRule_edit

Create/Edit CCM Auto stopping Rules

ccm_autoStoppingRule_delete

Delete CCM Auto stopping Rules

ccm_folder_view

View CCM Folders

ccm_folder_edit

Create/Edit CCM Folders

ccm_folder_delete

Delete CCM Folders

ccm_loadBalancer_view

View CCM Load Balancers

ccm_loadBalancer_edit

Create/Edit CCM Load Balancers

ccm_loadBalancer_delete

Delete CCM Load Balancers

ccm_overview_view

View CCM Overview page

Chaos Engineering

The following permissions allow an API key to interact with Chaos Engineering. They are available at any scope.

Permission ID
Description

chaos_chaoshub_view

View Chaos Hubs

chaos_chaoshub_edit

Edit Chaos Hubs

chaos_chaoshub_delete

Delete Chaos Hubs

chaos_chaosinfrastructure_view

View Chaos Infrastructures

chaos_chaosinfrastructure_edit

Edit Chaos Infrastructures

chaos_chaosinfrastructure_delete

Delete Chaos Infrastructures

chaos_chaosexperiment_view

View Chaos Experiments

chaos_chaosexperiment_edit

Edit Chaos Experiments

chaos_chaosexperiment_execute

Execute Chaos Experiments

chaos_chaosexperiment_executepipeline

Execute a Chaos Experiment via Pipeline

chaos_chaosexperiment_delete

Delete Chaos Experiments

chaos_chaosgameday_view

View Chaos GameDay

chaos_chaosgameday_edit

Edit Chaos GameDay

chaos_chaosgameday_delete

Delete Chaos GameDay

chaos_chaossecuritygovernance_view

View a Chaos Security Governance

chaos_chaossecuritygovernance_edit

Edit a Chaos Security Governance

chaos_chaossecuritygovernance_delete

Delete a Chaos Security Governance

Code Repository

Permission ID
Description

code_repository_view

View repositories

code_repository_edit

Update repository settings, such as descriptions, webhooks, and rules.

code_repository_create

Create repositories

code_repository_delete

Delete repositories

code_repository_push

Repository contributor permissions, such as committing, pushing, creating/deleting branches, creating/deleting tags.

Connectors

The following permissions allow an API key to manage connectors. They are available at any scope.

  • View connectors: core_connector_view

  • Create/edit connectors: core_connector_edit

  • Access connectors: core_connector_access

  • Delete connectors: core_connector_delete

Dashboards

The following permissions allow an API key to manage account dashboards. They are available at either the account or organization scope but not the project scope.

  • View dashboards: core_dashboards_view

  • Edit dashboards: core_dashboards_edit

Delegates

The following permissions allow an API key to manage delegates. They are available at any scope.

Permission ID
Description

core_delegate_view

View Delegates

core_delegate_edit

Create or Edit Delegates

core_delegate_delete

Delete Delegates

core_delegateconfiguration_view

View Delegate Configurations

core_delegateconfiguration_edit

Create/Edit Delegate Configurations

core_delegateconfiguration_delete

Delete Delegate Configurations

Deployment freeze

The following permissions allow an API key to manage deployment freezes. They are available at any scope.

  • Manage deployment freezes: core_deploymentfreeze_manage

  • Override deployment freezes: core_deploymentfreeze_override

  • Apply global deployment freeze: core_deploymentfreeze_global

Environments

The following permissions allow an API key to manage environments and environment groups. They are available at any scope.

Permission ID
Description

core_environment_view

View Environments

core_environment_edit

Create/Edit Environments

core_environment_delete

Delete Environments

core_environment_access

Runtime access to Environments

core_environmentgroup_view

View Environment Groups

core_environmentgroup_edit

Create/Edit Environment Groups

core_environmentgroup_delete

Delete Environment Groups

core_environmentgroup_access

Runtime access to Environment Groups

Feature Flag

The following permissions allow an API key to interact with the Feature Flag module. They are available at any scope.

Permission ID
Description

ff_featureflag_edit

Create/Edit Feature Flags

ff_featureflag_delete

Delete Feature Flags

ff_featureflag_view

View Feature Flags

ff_targetgroup_view

View Target Groups

ff_targetgroup_edit

Create/Edit Target Groups

ff_targetgroup_delete

Delete Target Groups

ff_environment_targetGroupEdit

Edit Target Groups

ff_target_view

View Targets

ff_environment_apiKeyView

View Feature Flag Environment API Keys

ff_environment_apiKeyCreate

Create Feature Flag Environment API Keys

ff_environment_apiKeyDelete

Delete Feature Flag Environment API Keys

ff_environment_edit

Edit Feature Flag Environment Configuration

ff_environment_view

View Feature Flag Environment Configuration

ff_featureflag_toggle

Toggle a Feature Flag on/off

Files

The following permissions allow an API key to manage files. They are available at any scope.

  • View files: core_file_view

  • Edit files: core_file_edit

  • Delete files: core_file_delete

  • Access files: core_file_access

GitOps

The following permissions allow an API key to interact with GitOps. They are available at any scope.

Permission ID
Description

gitops_agent_view

View GitOps Agents

gitops_agent_edit

Edit GitOps Agents

gitops_agent_delete

Delete GitOps Agents

gitops_application_view

View GitOps Applications

gitops_application_edit

Edit GitOps Applications

gitops_application_delete

Delete GitOps Applications

gitops_application_sync

Syns GitOps Applications

gitops_repository_view

View GitOps Repositories

gitops_repository_edit

Edit GitOps Repositories

gitops_repository_delete

Delete GitOps Repositories

gitops_cluster_view

View GitOps Clusters

gitops_cluster_edit

Edit GitOps Clusters

gitops_cluster_delete

Delete GitOps Clusters

gitops_gpgkey_view

View GitOps GPG keys

gitops_gpgkey_edit

Edit GitOps GPG keys

gitops_gpgkey_delete

Delete GitOps GPG keys

gitops_cert_view

View GitOps Certificate

gitops_cert_edit

Edit GitOps Certificate

gitops_cert_delete

Delete GitOps Certificate

Governance Policies

The following permissions allow an API key to manage governance policies. They are available at any scope.

Permission ID
Description

core_governancePolicy_edit

Create/Edit Policies

core_governancePolicy_view

View Policies

core_governancePolicy_delete

Delete Policies

core_governancePolicySets_edit

Create/Edit Policy Sets

core_governancePolicySets_view

View Policy Sets

core_governancePolicySets_delete

Delete Policy Sets

core_governancePolicySets_evaluate

Evaluate Policy Sets

Infrastructure as Code Management

The following permissions allow an API key to manage IACM workspaces. They are available at any scope.

Permission ID
Description

iac_workspace_view

View Infrastructure Workspace

iac_workspace_edit

Create/Edit Infrastructure Workspace

iac_workspace_delete

Delete Infrastructure Workspace

iac_workspace_editvariable

Create/Edit Infrastructure Workspace Variable

iac_workspace_deletevariable

Delete Infrastructure Workspace Variable

iac_workspace_approve

Approve Infrastructure Workspace

iac_workspace_accessstate

Access Infrastructure Workspace State

Internal Developer Portal

The following permissions allow an API key to interact with IDP Admin resources. They are only available at the account scope.

Permission ID
Description

idp_plugin_view

View IDP custom plugins

idp_plugin_edit

Create or Edit IDP custom plugins

idp_plugin_toggle

Enable or Disable an IDP Plugin

idp_plugin_delete

Delete IDP custom plugins

idp_scorecard_view

View IDP Scorecards

idp_scorecard_edit

Create or Edit IDP Scorecards

idp_scorecard_delete

Delete IDP Scorecards

idp_layout_view

View IDP Layout Configurations

idp_layout_edit

Create or Edit IDP Layout Configurations

idp_catalogaccesspolicy_view

View IDP Catalog Access Control Policies

idp_catalogaccesspolicy_create

Create IDP Catalog Access Control Policies

idp_catalogaccesspolicy_edit

Edit IDP Catalog Access Control Policies

idp_catalogaccesspolicy_delete

Delete IDP Catalog Access Control Policies

idp_integration_view

View IDP Integrations

idp_integration_create

Create IDP Integrations

idp_integration_edit

Edit IDP Integrations

idp_integration_delete

Delete IDP Integrations

idp_advancedconfiguration_view

View IDP Advanced Configurations

idp_advancedconfiguration_edit

Create or Edit IDP Advanced Configurations

idp_advancedconfiguration_delete

Delete IDP Advanced Configurations

Input Sets

The following permissions allow an API key to manage Input Sets. They are available at any scope.

  • View input sets: core_inputset_view

  • Create/edit input sets: core_inputset_edit

  • Delete input sets: core_inputset_delete

Organizations

The following permissions allow an API key to manage organizations. They are available at either the account or organization scope but not the project scope.

  • View organizations: core_organization_view

  • Create organizations: core_organization_create

  • Edit organizations: core_organization_edit

  • Delete organizations: core_organization_delete

Pipelines

The following permissions allow an API key to manage pipelines. They are available at any scope.

  • View pipelines: core_pipeline_view

  • Create/edit pipelines: core_pipeline_edit

  • Delete pipelines: core_pipeline_delete

  • Run pipelines: core_pipeline_execute

Projects

The following permissions allow an API key to manage projects. They are available at any scope.

  • View projects: core_project_view

  • Create projects: core_project_create

  • Edit projects: core_project_edit

  • Delete projects: core_project_delete

RBAC and authorization

The following permissions allow an API key to manage RBAC and authorization related resources, such as users, user groups, resource groups, roles, and service accounts.

Authorization

Authorization settings management permissions are only available at the account scope.

  • View authorization settings: core_authsetting_view

  • Edit authorization settings: core_authsetting_edit

  • Delete authorization settings: core_authsetting_delete

Resource groups

Resource group management permissions are available at any scope.

  • View resource groups: core_resourcegroup_view

  • Create/edit resource groups: core_resourcegroup_edit

  • Delete resource groups: core_resourcegroup_delete

Roles

Role management permissions are available at any scope.

  • View roles: core_role_view

  • Create/edit roles: core_role_edit

  • Delete roles: core_role_delete

User groups

User group management permissions are available at any scope.

  • View user groups: core_usergroup_view

  • Manage user groups: core_usergroup_manage

Users

User management permissions are available at any scope.

  • Invite users: core_user_invite

  • View users: core_user_view

  • Manage users: core_user_manage

Service accounts

The following permissions allow an API key or user to manage service accounts in Harness. These permissions are only available at the account scope.

  • View service accounts: core_serviceaccount_view

  • Create/edit service accounts: core_serviceaccount_edit

  • Delete service accounts: core_serviceaccount_delete

To manage API keys for service accounts, the core_serviceaccount_manageapikey permission can be applied at any scope.

Secrets

The following permissions allow an API key to manage secrets.

  • View secrets: core_secret_view

  • Create/edit secrets: core_secret_edit

  • Access secrets: core_secret_access

  • Delete secrets: core_secret_delete

core_secret_view is only available at the account scope. All other secrets permissions are available at all scopes.

Services

The following permissions allow an API key to manage services. They are available at any scope.

  • View services: core_service_view

  • Create/edit services: core_service_edit

  • Delete services: core_service_delete

  • Access services at runtime: core_service_access

SMTP

The following permissions allow an API key to manage the SMTP configuration. These are only available at the account scope.

  • View SMTP config: core_smtp_view

  • Create/edit SMTP config: core_smtp_edit

  • Delete SMTP config: core_smtp_delete

SRM

The following permissions allow an API key to manage SRM. They are available at any scope.

Permission ID
Description

chi_monitoredservice_view

View Monitored Services

chi_monitoredservice_edit

Create/Edit Monitored Services

chi_monitoredservice_delete

Delete Monitored Services

chi_monitoredservice_toggle

Toggle Monitored Services on/off

chi_slo_view

View SLOs

chi_slo_edit

Create/Edit SLOs

chi_slo_delete

Delete SLOs

STO

The following permissions allow an API key to manage STO. They are available at any scope.

Permission ID
Description

sto_testtarget_view

View Test Targets

sto_testtarget_edit

Edit Test Targets

sto_exemption_view

View Exemptions

sto_exemption_create

Create Exemptions

sto_exemption_approve

Approve Exemptions

sto_issue_view

View Security Issues

sto_scan_view

View Security Scans

Templates

The following permissions allow an API key to manage templates. They are available at any scope.

Permission ID
Description

core_template_view

View Templates

core_template_copy

Copy Templates

core_template_edit

Edit Templates

core_template_delete

Delete Templates

core_template_access

Access Templates

Variables

The following permissions allow an API key to manage variables. They are available at any scope.

  • View variables: core_variable_view

  • Create/edit variables: core_variable_edit

  • Delete variables: core_variable_delete

Database DevOps

The following permissions allow an API key to interact with Database DevOps resources. They are available at any scope.

Permission ID
Description

dbops_schema_view

View Schemas

dbops_schema_edit

Create or Edit Schemas

dbops_schema_delete

Delete Schemas

dbops_instance_view

View Instances

dbops_instance_edit

Create or Edit Instances

dbops_instance_delete

Delete Instances

Last updated

Was this helpful?