LastPass manages your passwords and online life, so you don’t have to.
Go to siteThe LastPass Enterprise API lets you automate and manage user access, shared folders, and security settings within your LastPass Enterprise account. With this API integrated in Pipedream, you can create workflows that streamline your password management tasks, enforce security policies, and sync with your organization's user directory. It's a secure way to manage credentials across your company's workforce, without constantly diving into the LastPass dashboard.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
lastpass: {
type: "app",
app: "lastpass",
}
},
async run({steps, $}) {
const data = {
"cid": `${this.lastpass.$auth.account_number}`,
"provhash": `${this.lastpass.$auth.prov_hash}`,
"cmd": `reporting`,
}
return await axios($, {
method: "post",
url: `https://lastpass.com/enterpriseapi.php`,
headers: {
"Content-Type": `application/json`,
},
data,
})
},
})
Automated User Provisioning and Deprovisioning: Configure a workflow that listens for new employee entries in your HR system, like BambooHR or Workday. When a new employee is added, automatically create a LastPass Enterprise user account with pre-defined access. Conversely, when an employee leaves, ensure their LastPass access is revoked to maintain security.
Security Compliance Reporting: Keep track of who has access to what, and when changes occur. Use the LastPass Enterprise API to fetch logs and access reports, then send this data to a Google Sheet or a database like PostgreSQL on Pipedream. This workflow can be scheduled to run at regular intervals, providing up-to-date compliance information.
Password Rotation Enforcement: Pair LastPass with a cron job workflow on Pipedream that triggers a password update action for shared accounts. This workflow could interface with your development tools, like GitHub or AWS, to rotate credentials for service accounts or CI/CD pipelines, aligning with best security practices and minimizing risk.
Emit new event when a new event is generated in LastPass
Manages user group membership in LastPass. Either adds a user to a group or removes them from a group.
Deactivates or completely removes a user account. This action must be used responsibly, considering its irreversible nature.
LastPass Enterprise API uses API keys for authentication. When you connect your LastPass Enterprise API account, Pipedream securely stores the keys so you can easily authenticate to LastPass Enterprise API APIs in both code and no-code steps.
You must have a LastPass Business account in order to use this integration.