I am using Jenkins as a docker container in AWS ECS. An EFS volume is mounted to keep the Jenkins home persistent one. So that the JCasC yaml is kept in the home directory.
But I am struggling to manage the users and credentials.
The User and Credentials creating after the Jenkins deployments is getting overwritten during next deployment or a configuration change.
Only the users and credentials specified in the JCasC yaml configuration will be available after any activity involving a restart.