Environments

Learn about environments in Artifactory, how to create and manage global and project environments, and the workflow for environment management including roles and repository assignments.


❗️

Important

Artifactory release 7.125.3 (released October 2025) introduces Stages to replace Environments. Support for existing environments continues until further notice. For more information, see Stages & Lifecycle.


Environments are used to aggregate project resources, such as repositories, to simplify their management.

Artifactory contains two default environments - DEV (Development) and PROD (Production), and additional custom environments can be created for specific projects, or for all projects, as needed. Each repository can be assigned to one or more environments, a feature that enables you to allocate repositories in ways that best serve the needs of your organization. Multiple repositories can be assigned to the same environment.

You can create custom environments at the global level, where they are available to users across all projects, or at the project level for the project's members. At the project level, specific roles can be assigned to custom environments, which enable you to implement a more granular permissions model for that project.

Environment Management Workflow

The following workflow illustrates how to create and manage environments.

ProcedureUsing the JFrog Platform UIUsing REST API
1Create a global environmentCreate a Custom Global EnvironmentCreate Global Environment
POST ${baseUrl}/access/v1/environments
2Create a project environmentCreate a Custom Project EnvironmentCreate Project Environment
POST ${baseUrl}/access/v1/projects/{project_key}/environments
3Edit a global role and assign an environmentAssign Environments to Global and Project RolesEdit a Global Role
PUT ${baseUrl}/access/v1/roles/{role}
3Create a custom global role and assign an environmentCreate Custom Global RolesCreate a Custom Global Role
POST ${baseUrl}/access/v1/roles
4Create a project role and assign an environmentCreate Project RolesCreate Role
POST ${baseUrl}/access/v1/projects/{project_key}/roles
5Assign repositories to each environmentConfiguring a Local Repository

Update Repository Configuration

Based on changes made in the Repository Configuration JSON.

6Delete a custom environmentDelete a Custom EnvironmentDelete Global Environment
DELETE ${baseUrl}/access/v1/environments/{environment_name}


Did this page help you?