salt.modules.stormpath

Support for Stormpath

2015.8.0 新版功能.

salt.modules.stormpath.create_account(directory_id, email, password, givenName, surname, **kwargs)

Create an account

CLI Examples:

salt myminion stormpath.create_account <directory_id> shemp@example.com letmein Shemp Howard
salt.modules.stormpath.delete_account(account_id)

Delete an account.

CLI Examples:

salt myminion stormpath.delete_account <account_id>
salt.modules.stormpath.list_accounts()

Show all accounts.

CLI Example:

salt myminion stormpath.list_accounts
salt.modules.stormpath.list_directories()

Show all directories.

CLI Example:

salt myminion stormpath.list_directories
salt.modules.stormpath.show_account(account_id=None, email=None, directory_id=None, application_id=None, group_id=None, **kwargs)

Show a specific account.

CLI Example:

salt myminion stormpath.show_account <account_id>
salt.modules.stormpath.show_tenant()

Get the tenant for the login being used.

salt.modules.stormpath.update_account(account_id, key=None, value=None, items=None)

Update one or more items for this account. Specifying an empty value will clear it for that account.

CLI Examples:

salt myminion stormpath.update_account <account_id> givenName shemp salt myminion stormpath.update_account <account_id> middleName '' salt myminion stormpath.update_account <account_id> items='{"givenName": "Shemp"} salt myminion stormpath.update_account <account_id> items='{"middlename": ""}