Skip to main content
Help us improve Python packaging – donate today!

Migrate a Stormpath tenant from one place to another.

Project Description

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:

  • SOURCE: xxx:yyy https://api.stormpath.com/v1
  • DESTINATION: blah:blah https://test.stormpath.io/v1

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.

Release history Release notifications

This version
History Node

1.1.5

History Node

1.1.4

History Node

1.1.3

History Node

1.1.2

History Node

1.1.1

History Node

1.1.0

History Node

1.0.15

History Node

1.0.14

History Node

1.0.13

History Node

1.0.12

History Node

1.0.11

History Node

1.0.10

History Node

1.0.9

History Node

1.0.8

History Node

1.0.7

History Node

1.0.6

History Node

1.0.5

History Node

1.0.4

History Node

1.0.3

History Node

1.0.2

History Node

1.0.1

History Node

1.0.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
stormpath_migrate-1.1.5-py2.py3-none-any.whl (22.5 kB) Copy SHA256 hash SHA256 Wheel 3.6 Jan 17, 2017
stormpath-migrate-1.1.5.tar.gz (17.5 kB) Copy SHA256 hash SHA256 Source None Jan 17, 2017

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page