Skip to main content

LastPass

The LastPass modules allow you to manage users, set password requirements, watch for new reports, and make API calls.

Getting Started with LastPass

Prerequisites

Note

The module dialog fields displayed in bold (in the Make scenario, not in this documentation article) are mandatory.

Connecting LastPass to Make

To connect your LastPass Business account to Make you must obtain your account number and provisioning hash.

  1. Log in to your LastPass Business account.

  2. On the dashboard, copy your account number to your clipboard.

    lastpass_1.png
  3. Click More > Advanced, then click Enterprise API.

    lastpass_2.png
  4. You need to create a provisioning hash. Whether you're resetting a hash or creating a new one, click the large blue button.

    lastpass_3.png
  5. Copy the long provisioning hash to your clipboard.

    Note

    Make sure not to include the quotation marks " " when you copy the hash.

  6. Go to your Make scenario and choose the LastPass module you want to use.

  7. Next to Connection, click Add.

  8. Choose a name for your connection.

  9. Enter the account number and provisioning hash you copied earlier in their respective fields, then click Save.

    lastpass_4.png

You have now successfully established the connection.

User

Invites a new user.

Connection

Establish a connection to your LastPass Business account.

User Email

Enter the email of the user you want to invite.

Full Name

Enter the full name of the user.

Note

This must not match an existing user.

Default Password

Define a default password for the new user. This could be temporary or permanent based on the Password Reset Required field below.

Password Reset Required

Select whether a password reset is required from the user.

Updates user email and sends an email to a user for confirmation of the change.

Connection

Establish a connection to your LastPass Business account.

Old Email

Enter the user's current/old email address.

Note

A user account must be activated at first. It's not possible to change the email of an unactivated account.

New Email

Enter the user's new email address.

Reinvites a specific user.

Connection

Establish a connection to your LastPass Business account.

User Email

Enter the email address of the user you want to reinvite.

Lists information about users.

Connection

Establish a connection to your LastPass Business account.

User Email

Enter the email addresses of the users you want to retrieve.

Return

Select the account status of the users to retrieve.

  • Only active accounts

  • Only disabled accounts

Admin

Select the admin level of the users you want to retrieve.

  • Only non-admin accounts

  • Only admin accounts

Limit

Enter the maximum number of results Make returns during one scenario execution cycle.

Tip

To prevent details from being omitted from the results, avoid retrieving more than 2000 users at a time.

Deactivates/Removes/Deletes a user account

Connection

Establish a connection to your LastPass Business account.

User Email

Enter the email address of the user you want to delete.

Choose

Select the specific delete action you want to take.

  • Deactivate user - Block login but retain data and LastPass Business membership

  • Remove user - Remove the user from your LastPass Business account but keep the account itself active

  • Delete user - Delete the account entirely

Manage

Pushes sites to users.

Notice

A user that receives the pushed site must install and log in to the LastPass web browser extension at least once. If the user logs in via the LastPass website, the site will not be pushed.

Connection

Establish a connection to your LastPass Business account.

Push to

Enter the user LastPass email to whom the site is shared. To share with all users, type all. To share to a group, enter the group name.

Note

It may take LastPass a few minutes to process your request.

Site URL

Enter the site's URL.

Site Label

Enter the name you would like the site entry to have in the users' vaults.

Site Username Type

Define how the site's username is populated.

  • Email sets the site username as the user's LastPass account email address ([email protected])

  • Custom allows you to set a custom username in the Custom Username field below

Site Password

Enter the site's password.

Notes

Enter an notes for the site.

Folder Name

Enter the name of the folder you'd like this site to be added to in the users' vaults.

Mark as Favourite

Select whether or not to mark the site as a favorite.

Make It Persistent

Select whether or not to set a site as persistent to include it in the vault of each user added to your company or a group. When Yes, the site will be included to the vault of each user added to your company or a group.

Note

Works only when the site is pushed to all users or a group.

Shared Folder ID

Enter the ID of the shared folder with the key used to encrypt the data. Leave blank if the data isn't encrypted.

Adds/Removes a user in groups.

Connection

Establish a connection to your LastPass Business account.

User Email

Enter the email address of the user you want to add or remove.

Add

Enter the name of any groups you want to add a user to.

Note

If an unknown group name is provided, a new group will be created.

Remove

Enter the name of any groups you want to remove a user from.

Sends an email to a user requiring them to change their master password.

Note

The user will be prompted to change their master password upon the next login.

Connection

Establish a connection to your LastPass Business account.

User Email

Enter the email address of the user you want to send a master password change prompt email to.

Disables a user's multifactor authentication.

Connection

Establish a connection to your LastPass Business account.

User Email

Enter the email address of the user whose multifactor authentication you want to disable.

Sends a password reset email to a user.

Connection

Establish a connection to your LastPass Business account.

User Email

Enter the email address of the user you want to send a password reset email to.

Triggers

Triggers when a new report is created. For example, a user login, pushed site, etc.

Connection

Establish a connection to your LastPass Business account.

Date From

Enter the start date from which to pull reporting data. See the list of supported date examples.

Note

If no value is entered, the current day is used, from 00:00.

Date To

Enter the end date to pull reporting data until. See the list of supported date examples.

Note

If no value is entered, the current day is used, until 23:59:59.

Search

Enter a search string to filter the reporting data.

Admin

Select whether or not to only retrieve admin events.

Limit

Enter the maximum number of events Make returns during one scenario execution cycle.

Other

Performs an arbitrary authorized API call.

Note

For the list of available endpoints, refer to the LastPass API Documentation.

Connection

Establish a connection to your LastPass account.

Method

Select the HTTP method you want to use:

GET

to retrieve information for an entry.

POST

to create a new entry.

PUT

to update/replace an existing entry.

PATCH

to make a partial entry update.

DELETE

to delete an entry.

Headers

Enter the desired request headers. You don't have to add authorization headers; we already did that for you.

Query String

Enter the request query string.

API Command

Enter the API command you want to perform. Can be found as cmd in the API documentation. For example, getuserdatareporting, etc.

Data

Fill in any data objects that will be sent inside the body.

The following API call returns all the events from your LastPass Business account:

Method: POST

API Command: reporting

lastpass_5.png

Note

You can specify a timeframe of results by using the Data fields.

Matches of the search can be found in the module's Output under Bundle > Body > Data. Our example returned 4 results:

lastpass_6.png