This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Migrate a Stormpath tenant from one place to another.

Project Description

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 History

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 Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
stormpath_migrate-1.1.5-py2.py3-none-any.whl (22.5 kB) Copy SHA256 Checksum SHA256 3.6 Wheel Jan 17, 2017
stormpath-migrate-1.1.5.tar.gz (17.5 kB) Copy SHA256 Checksum SHA256 Source Jan 17, 2017

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting