Skip to content

stormpath/stormpath-migrate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Stormpath is Joining Okta

We are incredibly excited to announce that Stormpath is joining forces with Okta. Please visit the Migration FAQs for a detailed look at what this means for Stormpath users.

We're available to answer all questions at support@stormpath.com.

stormpath-migrate

stormpath-migrate Release

stormpath-migrate Downloads

stormpath-migrate Code Quality

stormpath-migrate Build

Migrate a Stormpath tenant from one place to another.

Installation

To install this library, use pip:

$ pip install stormpath-migrate

Usage

To use this tool, you need a few things:

  • A newline delimited JSON file that contains JSON objects that look like: {"href": "account_href", "password": "password_hash"}.
  • A pair of Stormpath API keys for the SOURCE tenant you want to migrate.
  • The Stormpath Base URL for the SOURCE tenant you want to migrate.
  • A pair of Stormpath API keys for the DESTINATION tenant you want to migrate.
  • The Stormpath Base URL for the DESTINATION tenant you want to migrate.

Once you have these things, we can begin.

Let's say that I have two Stormpath Tenants, with the following API keys and Base URLs, respectively:

Let's also say I have the properly exported my existing user passwords by talking with the Stormpath engineering team, and have a file named passwords.txt which contains my JSON delimited data.

I could then run the following command to properly migrate all of my data from the SOURCE tenant to the DESTINATION tenant:

$ stormpath-migrate 'xxx:yyy' 'blah:blah' passwords.txt \
    --src-url https://api.stormpath.com/v1 \
    --dst-url https://test.stormpath.io/v1

This will initialize the migration process, and will output to the terminal with progress reports. Depending on how many resource you have in your Stormpath tenant, this may take a very long time.

This program should be run on a computer with a strong and consistent internet connection for the best results.

This program can be run multiple times in a row to perform incremental backups. Objects will NOT be deleted from the DESTINATION tenant. They will only be copied over from the SOURCE tenant.

About

Migrate a Stormpath tenant from one place to another.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages