jf rt permission-target-update
Update a permission target in the JFrog Platform from a template file.
Synopsis
jf rt permission-target-update <template-path> [options]
Aliases: rt ptu
Arguments
| Argument | Required | Description |
|---|---|---|
<template-path> | Yes | Local file system path to the template file. Create it with jf rt ptt |
Options
| Flag | Default | Description |
|---|---|---|
--access-token | — | JFrog access token |
--client-cert-key-path | — | Private key file for the client certificate in PEM format |
--client-cert-path | — | Client certificate file in PEM format |
--password | — | JFrog password |
--server-id | — | Server ID configured using the jf config command |
--ssh-key-path | — | SSH key file path |
--ssh-passphrase | — | SSH key passphrase |
--url | — | JFrog Artifactory URL (example: https://acme.jfrog.io/artifactory) |
--user | — | JFrog username |
--vars | — | Semicolon-separated variables in the form "key1=value1;key2=value2". In the template, use ${key1} placeholder syntax |
Examples
Update a Permission Target
jf rt permission-target-update --helpUpdate with Variable Substitution
jf rt permission-target-update ./template.json --vars "groupName=developers;repoName=libs-release"Important Notes
- The update replaces the entire permission target definition with the template contents. It is not a partial patch — ensure your template includes all fields, not just the ones you want to change.
- Requires admin privileges on the Artifactory instance.
- Use the same template format as
jf rt ptc. Generate it withjf rt ptt.
Updated about 1 month ago
