Automate 1Password with TypeScript
Resolve secrets, manage items, files, sharing, vaults, groups, and Environments with a service account. Read audit, item-usage, and sign-in activity through the Events API.
import { automation, onSchedule } from "automate.ax"
import { onePassword } from "automate.ax/onepassword"
export default automation("Read a rotating secret", () => {
onSchedule({ schedule: "0 * * * *" })
onePassword.resolveSecret({
secretReference: "op://Production/API/password",
})
})What you can do
Actions
- Resolve secret references and generate passwords
- Create, read, update, archive, share, and delete items
- Manage files, vaults, groups, and Environment variables
- Read audit, item-usage, and sign-in event pages
Triggers
No provider trigger is published for 1Password yet. Use another trigger, then call its actions.