loading...
JFrog

List Artifactory pro admin users - one liner

eldadak profile image Eldad Assis ・1 min read

When you have many users in Artifactory, you can get all admins with a quick one liner using the REST API from Linux command line.

for name in \
  $(curl -s -uadmin:password https://host/artifactory/api/security/users | jq ".[].name" | tr -d '"'); do \
  echo \
  "$name: $(curl -s -uadmin:password https://host/artifactory/api/security/users/$name | jq '.admin')"; \
done

Easy!

JFrog

JFrog products seamlessly integrate with practically any development environment on Earth, from legacy code to the most recent containers and micro-services.

Discussion

markdown guide