Create a new users group in Artifactory.

Synopsis

jf rt group-create <group-name> [options]

Aliases: rt gc

Arguments

ArgumentRequiredDescription
<group-name>YesThe name of the new group

Options

FlagDefaultDescription
--access-tokenJFrog access token
--passwordJFrog password (for authentication)
--replacefalseSet to true to replace an existing group of the same name
--server-idServer ID configured using the jf config command
--ssh-key-pathSSH key file path
--ssh-passphraseSSH key passphrase
--urlJFrog Artifactory URL (example: https://acme.jfrog.io/artifactory)
--userJFrog username

Examples

Create a New Group

jf rt group-create --help



### Create a Group with Replace

```bash
jf rt group-create developers --replace

When to Use

Use jf rt group-create to create a logical grouping of users for access control. Groups simplify permission management — instead of assigning permissions to individual users, assign them to groups and add users to those groups.

Typical access control workflow:

# 1. Create the group
jf rt group-create backend-team


# 2. Add users to the group
jf rt group-add-users backend-team alice,bob,charlie



# 3. Create a permission target for the group
jf rt ptc ./backend-permissions.json

Important Notes

  • Requires admin privileges on the Artifactory instance.
  • Use --replace to overwrite an existing group with the same name.
  • Creating a group does not automatically assign any permissions — you need to create a permission target that references the group.


What’s Next