Creating AEM Service Users Using Sling Repo Initializer | Community
Skip to main content
VeenaVikraman
Community Advisor
Community Advisor
January 27, 2025

Creating AEM Service Users Using Sling Repo Initializer

  • January 27, 2025
  • 3 replies
  • 576 views
AEM Discussions

Creating AEM Service Users Using Sling Repo Initializer

  by Jonathan Saurez

Overview

Learn how to create AEM Service Users using Sling Repository Initializer (SRI), an efficient and automated approach compatible with AEM 6.5.4+ and AEM as a Cloud Service. This method simplifies user creation and permission assignment, ensuring consistency across environments.

Read more


Q&A

Please use this thread to ask questions relating to this article

3 replies

anupampat
Community Advisor
Community Advisor
January 27, 2025

The one where it says, CRITICAL: You can't have both files(.cfg.json and .config) is interesting, I wonder if migrating from xml to json is a good idea or we should leave them as it is and create any additional users with xml only in future.

AmitVishwakarma
Community Advisor
Community Advisor
February 2, 2025

Great article, @veenavikraman ! Using Sling Repo Initializer for creating AEM service users is a smart and efficient approach. This will definitely help with consistency and automation. Thanks for sharing!

I’m curious, does using Sling Repo Initializer simplify the process of managing users in multi-environment setups, especially in terms of consistency across Dev, QA, and Prod environments?

kautuk_sahni
Community Manager
Community Manager
August 21, 2025

@veenavikraman Thanks for sharing this! Very clear approach for automating service user creation. In larger environments with multiple AEM instances, do you usually manage the SRI scripts centrally, or keep them per project—any tips to avoid conflicts?

Kautuk Sahni