---
updatedAt: 2026-05-21T09:14:56.000Z
agentTools:
  siteIndex: https://docs.jfrog.com/llms.txt
  projectIndex: https://docs.jfrog.com/installation/llms.txt
---

# Avoid Security Entities from Migration [OPTIONAL]

Delete user, group, or permission entries from security.json to exclude specific security entities from migration to Artifactory.

After you run the migrator tool with the `getconfig` option, the migrator tool creates the `security.json` file inside the folder, `<working directory>/migration/nexus-migrator`.

The `security.json` file contains the details of the security entities to be migrated to Artifactory. You can delete the entities that you do not want to be migrated from this list.

You can delete the entity name and the corresponding block from the security.json file to avoid migration of the entity to Artifactory.

<Callout icon="📘" theme="info">
**Note**

If you remove any entity, also remove its reference and any related sections. For example, if you remove a group section, remove that group name from any privileges that reference it.
</Callout>

The `password` field in the JSON file is base64 encoded. To change the password, enter the base64-encoded value in the `password` field.

The following example shows a sample `security.json` file.

```json
{
    "users": [
        {
            "name": "deployment",
            "email": "changeme1@yourcompany.com",
            "password": "UGFzc3dvcmRAMTIz",
            "realm": "internal",
            "groups": [
                "readers"
            ]
        },
        {
            "name": "testadmin",
            "email": "a@gmail.com",
            "password": "UGFzc3dvcmRAMTIz",
            "admin": true,
            "realm": "internal",
            "groups": [
                "readers"
            ]
        },
        {
            "name": "normaluser",
            "email": "test@gmail.com",
            "password": "UGFzc3dvcmRAMTIz",
            "realm": "internal",
            "groups": [
                "TestPrivRole",
                "readers"
            ]
        }
    ],
    "groups": [
        {
            "name": "TestPrivRole",
            "description": "TestPrivRole"
        },
        {
            "name": "m-8test",
            "description": "test"
        }
    ],
    "permissions": [
        {
            "name": "m-8privtest",
            "includesPattern": "**",
            "principals": {
                "groups": {
                    "m-8test": [
                        "r",
                        "w",
                        "d",
                        "n",
                        "m"
                    ]
                }
            },
            "repositories": [
                "test1"
            ]
        },
        {
            "name": "testcustom",
            "includesPattern": "**",
            "principals": {},
            "repositories": [
                "ANY"
            ]
        }
    ]
}
```

## Related Topics

* [Nexus Repository Manager Migration to JFrog Artifactory](migrating-from-sonatype-nexus-repository-manager-to-artifactory)
* [Edit Security Entities \[OPTIONAL\]](edit-security-entities-optional)
* [Avoid Repositories from Migration \[OPTIONAL\]](avoid-repositories-from-migration-optional)
* [Migration of Privileges](migration-of-privileges)
* [Run the Migration Tool in Multiple Stages](run-the-migration-tool-in-multiple-stages)
* [Repository Migration Status](repository-migration-status)