Two ways to give a technician admin access to a client tenant without a standing admin account:
- JIT admin: Scute creates a temporary account holding one directory role and removes it when the time is up.
- Vault: Scute keeps the password of a break-glass or shared admin account, shows it once on checkout and changes it again on check-in.
Requesting a JIT account and checking out a vault password return a secret to the technician who asked, so both need a person signed in to the dashboard. With an API key they return 422 jit_requires_user and vault_requires_user. The calls below work with an API key.
Authentication, response shape and errors are those of account actions.
JIT admin#
List JIT accounts#
The workspace's last 100 JIT accounts, newest first.
/v1/workspaces/:workspace_id/entra/jitAPI key + M2M tokencurl https://api.scute.io/v1/workspaces/$SCUTE_WORKSPACE_ID/entra/jit \ -H "Authorization: Bearer $SCUTE_WORKSPACE_KEY" \ -H "X-Authorization: Bearer $SCUTE_M2M_TOKEN"{ "ok": true, "data": { "accounts": [ { "id": "0193fc00-1111-7222-8333-444444444444", "role": "helpdesk_admin", "upn": "scute-jit-alex-k3m9qz@wayne.onmicrosoft.com", "ticket": "TKT-4821", "reason": "Reset a shared mailbox", "status": "active", "requested_by": "alex@msp.example", "created_at": "2026-11-19T13:00:00Z", "expires_at": "2026-11-19T14:00:00Z" } ] }}status is pending, active, removed or failed. A removed account also has removed_at and removed_by (expiry when its time ran out). error holds the last failure.
End a JIT account#
Removes the account and its role now. An account that is not active is returned unchanged.
/v1/workspaces/:workspace_id/entra/jit/:jit_idAPI key + M2M tokencurl -X DELETE https://api.scute.io/v1/workspaces/$SCUTE_WORKSPACE_ID/entra/jit/0193fc00-1111-7222-8333-444444444444 \ -H "Authorization: Bearer $SCUTE_WORKSPACE_KEY" \ -H "X-Authorization: Bearer $SCUTE_M2M_TOKEN"Returns the account in data. 404 not_found for an unknown ID.
Vault#
List kept accounts#
/v1/workspaces/:workspace_id/entra/vaultAPI key + M2M tokencurl https://api.scute.io/v1/workspaces/$SCUTE_WORKSPACE_ID/entra/vault \ -H "Authorization: Bearer $SCUTE_WORKSPACE_KEY" \ -H "X-Authorization: Bearer $SCUTE_M2M_TOKEN"{ "ok": true, "data": { "credentials": [ { "id": "0193fc10-1111-7222-8333-444444444444", "label": "Break-glass admin", "break_glass": true, "upn": "breakglass@wayne.example", "user_oid": "4d5e6f7a-8b9c-4d0e-8f1a-2b3c4d5e6f7a", "status": "active", "rotate_every_days": 30, "checkout_minutes": 60, "last_rotated_at": "2026-11-01T00:00:00Z", "next_rotation_at": "2026-12-01T00:00:00Z", "created_by": "alex@msp.example" } ] }}A checked-out account also has checked_out_by, checked_out_at, checkout_expires_at and checkout_reason. error holds the last failed password change. break_glass_hint is true for an account not marked break-glass that the last privileged access scan found holding Global Administrator.
Keep an account#
Scute sets a new password nobody has seen and keeps it encrypted. Changing an admin account's password needs Scute's app to hold the Privileged Authentication Administrator role in the tenant.
/v1/workspaces/:workspace_id/entra/vaultAPI key + M2M tokencurl -X POST https://api.scute.io/v1/workspaces/$SCUTE_WORKSPACE_ID/entra/vault \ -H "Authorization: Bearer $SCUTE_WORKSPACE_KEY" \ -H "X-Authorization: Bearer $SCUTE_M2M_TOKEN" \ -H "Content-Type: application/json" \ -d '{ "user_oid": "4d5e6f7a-8b9c-4d0e-8f1a-2b3c4d5e6f7a", "upn": "breakglass@wayne.example", "label": "Break-glass admin", "break_glass": true }'Returns the kept account in data. The password is never returned here.
| Status | error | When |
|---|---|---|
| 422 | vault_bad_schedule | A value is out of range, or user_oid is missing. |
| 422 | vault_already_kept | The account is already in the vault. |
Check in an account#
Ends a checkout and changes the password, so what was shown can no longer be used.
/v1/workspaces/:workspace_id/entra/vault/:credential_id/checkinAPI key + M2M tokencurl -X POST https://api.scute.io/v1/workspaces/$SCUTE_WORKSPACE_ID/entra/vault/0193fc10-1111-7222-8333-444444444444/checkin \ -H "Authorization: Bearer $SCUTE_WORKSPACE_KEY" \ -H "X-Authorization: Bearer $SCUTE_M2M_TOKEN"422 vault_not_checked_out when nobody has it out. 404 not_found for an unknown ID.
Stop keeping an account#
Scute forgets the password. The account and its current password are left as they are.
/v1/workspaces/:workspace_id/entra/vault/:credential_idAPI key + M2M tokencurl -X DELETE https://api.scute.io/v1/workspaces/$SCUTE_WORKSPACE_ID/entra/vault/0193fc10-1111-7222-8333-444444444444 \ -H "Authorization: Bearer $SCUTE_WORKSPACE_KEY" \ -H "X-Authorization: Bearer $SCUTE_M2M_TOKEN"Returns the account in data with status removed.