PingAM

What is Amster?

Amster is a command-line interface built upon the PingAM REST interface. Use Amster in DevOps processes, such as continuous integration, command-line installations, and scripted cloud deployments.

Amster provides the following features:

  • Remote, scripted deployments. Script AM deployments by using the Groovy scripting support within Amster.

  • AM configuration import and export. Amster can export all the configuration related to an AM instance, and import it back to the same, or a different instance.

    Amster only manages configuration data. User information in data stores isn’t imported or exported, or modified in any way.

  • Configuration stored in JSON. Amster exports configuration to a hierarchy of JSON format text files on the local filesystem.

    Global defaults and configuration are exported to the global folder, and the configuration for realms is exported into subfolders of the realms folder.

    The following is a simplified example of an exported hierarchy, including the top-level root realm:

    |-- global
        |-- GlobalScripts
        |   |-- 157298c0-7d31-4059-a95b-eeb08473b7e5.json
        |   `-- 36863ffb-40ec-48b9-94b1-9a99f71cc3b5.json
        |-- Realms
        |   `-- root.json
        |-- Servers
        |   |-- 01
        |   |   |-- AdvancedProperties.json
        |   |   |-- CtsDataStoreProperties.json
        |   |   |-- DirectoryConfiguration.json
        |   |   |-- GeneralProperties.json
        |   |   |-- SdkProperties.json
        |   |   |-- SecurityProperties.json
        |   |   `-- SessionProperties.json
        |   `-- 01.json
        `-- Session.json
    `-- realms
        `-- root
            |-- AuthTree
            |   |-- Agent.json
            |   |-- amsterService.json
            |   `-- ldapService.json
            `-- Scripts
                |-- 9de3eb62-f131-4fac-a294-7bd170fd4acb.json
                `-- c827d2b4-3608-4693-868e-bbcf86bd87c7.json

    Store these files in a version control system to manage and maintain AM configurations.

    Find a list of the available entities in the Entity reference.

  • Encryption of sensitive data. Amster can encrypt exported passwords and sensitive data in the configuration files that are stored on disk. Only a correctly configured AM instance with the required transport key installed is able to decrypt and import the values.

Common use cases

Use the following scenarios to match your requirements to the Amster approach:

  • Rebuilding a failed instance: An AM instance has failed, and you need to restore its configuration on fresh infrastructure. Follow the steps in Clone an PingAM instance.

  • Promoting configuration between environments: Environment-specific variables (such as URLs, ports, and credentials) must be decoupled and defined separately when deploying configurations across test, staging, and production. Export the configuration from the source environment, replace environment-specific values with configuration expressions, and import into the target environment. Learn more in Export configuration data, Import configuration data, and Configuration expressions in exported configuration files.

  • Keeping configuration repeatable: Configuration changes made directly in one server drift from the rest of the site. Export the configuration as JSON files, keep them in version control, and import them to align other servers. Use the sample scripts as templates for automating exports and imports. Learn more in Amster sample scripts and Scripts.