Utility scripts for deploying, migrating, and managing WSO2 Identity Server.
- Deploy IS with SQL Databases —
deploy/identity_server/configure_is_with_sql_db.shProvision a Dockerized DB (MySQL, PostgreSQL, MSSQL, Oracle, DB2), wire it into a WSO2 IS pack viadeployment.toml, apply patches, and optionally start the server. - Backup / Restore DB —
deploy/identity_server/backup_restore_db.shSnapshot and restore Identity + Shared databases for the running container. Supports named snapshots, listing, and interactive restore. See the deploy README.
- 5.9 → 7.1 Migration —
migration/5.9-7.1-migration.shDrives the full IS 5.9.0 → 7.1.0 upgrade, including the PostgreSQLuser_id_migration_postgresql.sqlstep. Includes bundledpostgresql-42.7.0.jarJDBC driver. - DB Backup Helpers —
migration/scripts/db-backup/mysql-db-backup.shpostgresql-db-backup.sh
- Run SQL File —
migration/scripts/run-sql-file/postgresql-sql-file.shExecute a.sqlfile against a PostgreSQL DB.
- Bulk CSV Generator —
users/generate_bulk_csv.sh <count> [output_file]Generates a CSV (username,givenname,emailaddress) for bulk user import. - Delete IS Users —
users/delete_is_users.sh [port]SCIM2 bulk-delete users from a WSO2 IS tenant. Respects an ignore list (admin, etc.). - Delete Asgardeo Users —
users/delete_asgardeo_users.shSCIM2 bulk-delete users from an Asgardeo org.
- Management App Bootstrapper —
api-resource/management-app.shCreatesE2E-Test-Suite-Tokenapplication, fetches all API resources, and authorizes them on the app. Stores app ID inapp_id.txtand resource list inapi_resources.json.
- OIDC Token Helper —
helpers/openid_token.shRuns the authorization-code flow against a local IS, prints the authorize URL, exchanges the code, and decodes the resulting ID token.
- Error Log Processor —
logs/read_error_logs.pyReads a CSV query export and writes it out as a flat text log for easier reading.