Permission targets in Artifactory
Manage Artifactory permission targets using JFrog CLI create, update, and delete commands.
Permission targets control which users and groups can access repositories, builds, and release bundles in Artifactory, and what actions they are allowed to perform. You can use the JFrog CLI to create, update, and delete permission targets programmatically. This is useful for infrastructure-as-code workflows and CI/CD pipelines.
Workflow Overview
The CLI commands are usually combined in this order:
- jf rt permission-target-template (
rt ptt) — generate a JSON template interactively in a terminal. - jf rt permission-target-create (
rt ptc) — create a new permission target from a template file. - jf rt permission-target-update (
rt ptu) — replace an existing permission target from a template file. - jf rt permission-target-delete (
rt ptdel) — permanently remove a permission target.
Commands
The following table lists each permission target command and its alias.
| Command | Alias | Description |
|---|---|---|
| jf rt permission-target-template | rt ptt | Create a JSON template interactively (requires a terminal) |
| jf rt permission-target-create | rt ptc | Create a new permission target from a template file |
| jf rt permission-target-update | rt ptu | Replace an existing permission target from a template file |
| jf rt permission-target-delete | rt ptdel | Permanently delete a permission target |
Related Topics
Updated 2 days ago
Did this page help you?
