Create new users in Artifactory from a CSV file with usernames, passwords, and emails.

Synopsis

jf rt users-create --csv <path> [options]

Aliases: rt uc

Arguments

ArgumentRequiredDescription
No positional arguments. Use --csv for the file path

Options

FlagDefaultDescription
--access-tokenJFrog access token
--csvPath to a CSV file. First row must be headers: username, password, email
--passwordJFrog password (for authentication)
--replacefalseSet to true to replace existing users or groups
--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
--users-groupsComma-separated list of groups for the new users to join

Examples

Create Users from a CSV File

jf rt users-create --help

Create Users with Group Assignment

jf rt users-create --csv ./users.csv --users-groups developers,readers

Replace Existing Users

jf rt users-create --csv ./users.csv --replace

CSV Format

The CSV file must contain these headers in the first row: username, password, email.

username,password,email
alice,secret1,[email protected]
bob,secret2,[email protected]

When to Use

Use jf rt users-create for bulk user provisioning — for example, when onboarding an entire team or migrating users from another system. Prepare a CSV file and run a single command.

Typical onboarding workflow:

# 1. Create users from CSV
jf rt users-create --csv ./new-team.csv --users-groups developers,readers

# 2. Verify they exist (using Artifactory UI or API)
# 3. Create a permission target for the team
jf rt ptc ./team-permissions.json

Important Notes

  • The CSV file must have headers: username, password, email in the first row.
  • Requires admin privileges on the Artifactory instance.
  • Use --replace to update existing users if they already exist.
  • Passwords in the CSV are sent over HTTPS. Do not commit CSV files with real passwords to version control.


What’s Next

To remove users, see jf rt users-delete.