POWERUP / TBAC
TBAC — Time-Based Access Control
Access Only When Allowed.
Grant access when it is needed. Approve from your favorite supported channel. Control exactly how long access lasts.
On when needed. Off when time is up.
- Time-based access
- Multi-channel approval
- API-first
Simulation: all data is fictional and no real messages are sent.
Audit log
Simulation settings
Every channel shares one request and one server state — switching channels never resets it.
Multi-channel approval
Approve where your team already works.
Approve, deny or revoke from the apps you use every day. Each channel gets a native-style card, and all of them share one request and one audit trail.
LINE
Flex Message cards — approve or deny right in the chat.
Priority · in developmentTelegram
Bot messages with inline keyboard buttons.
Priority · in developmentEmail
A secure review link. Opening it never approves; you sign in and confirm.
Priority · in developmentSlack
Block Kit messages for engineering channels.
Coming soon · previewMicrosoft Teams
Adaptive Cards inside your Microsoft 365 tenant.
Coming soon · previewWhatsApp
Approved template messages for distributed teams and partners.
Coming soon · previewSMS
A one-time review link as a fallback channel.
Coming soon · previewWeb Dashboard
One place for the queue, live grants and the audit log.
Coming soon · previewWebhook / API
Stream every authorization event into your own systems.
Coming soon · preview
Why TBAC
Standing access is standing risk.
Traditional access control asks
- Who can access?
- What can they access?
TBAC also asks
- When can they access it?
- For how long?
- Who approves it?
- When must it stop?
- Can it be revoked right now?
Standing access
Accounts and keys stay valid long after the contractor leaves or the agent's task is done.
Time-based access
Valid only for the approved window, removed by the target system when time is up, logged every time.
How it works
From request to automatic revocation, every step is under control.
Request
A person, app or AI agent asks for a resource, a scope and a duration via the API.
Notify
Policy decides who approves and which channels to notify.
Approve
Approve, deny or change the duration. High-risk actions require step-up verification.
Activate
The clock starts only after the target system confirms access is on.
Count down
Every channel shows the time left. Revoke at any moment.
Expire
The target system removes access and confirms before it is marked done.
| Time | Event | Actor | Channel |
|---|---|---|---|
| 14:30:02 | Access requested | AI Data Analyst Agent | API |
| 14:31:15 | Approved (30 minutes) | Data team lead | LINE |
| 14:31:16 | Target system confirmed activation | prod-db | — |
| 15:01:16 | Access window ended | TBAC | — |
| 15:01:17 | Target system confirmed expiry | prod-db | — |
Use cases
If access should end, TBAC can end it.
AI agent actions
- Requester
- AI Data Analyst Agent
- Approver
- Data team lead
- Resource
- Production database (read-only)
- Window
- 30 minutes
- On expiry
- Revoke DB credentials and end the session
Production database access
- Requester
- Backend engineer
- Approver
- Tech lead + security (two-person rule)
- Resource
- Production database (read/write)
- Window
- 1 hour
- On expiry
- Drop the temporary DB user, keep the query log
Engineer server login
- Requester
- On-call engineer
- Approver
- Ops manager
- Resource
- Production SSH
- Window
- 2 hours
- On expiry
- Short-lived SSH certificate expires, sessions closed
Time-bound API access
- Requester
- Partner system
- Approver
- Product owner
- Resource
- Orders API
- Window
- 7 days
- On expiry
- API key stops working
Vendor remote maintenance
- Requester
- Equipment vendor
- Approver
- Plant manager
- Resource
- Line-control remote desktop
- Window
- 4 hours
- On expiry
- VPN account disabled, tunnel closed
IoT device unlock
- Requester
- Field technician
- Approver
- Site manager
- Resource
- Door access and chargers
- Window
- 30 minutes
- On expiry
- Device re-locks and reports back
Sensitive operations
- Requester
- Support manager
- Approver
- COO
- Resource
- Customer data export
- Window
- 15 minutes
- On expiry
- Download link dies, export file deleted
Finance approvals
- Requester
- Accounts payable
- Approver
- CFO
- Resource
- Submit payment batch
- Window
- 1 hour
- On expiry
- Submit disabled; unfinished batches need a new request
Time-limited features
- Requester
- SaaS customer
- Approver
- Customer admin
- Resource
- Advanced reporting (trial)
- Window
- 14 days
- On expiry
- Feature switches off, data is kept
Third-party apps
- Requester
- Marketing automation tool
- Approver
- System admin
- Resource
- CRM contacts (read-only)
- Window
- 24 hours
- On expiry
- OAuth token revoked
Developers
One API for every kind of access request.
Create requests over REST, receive state changes by webhook. Your systems enforce access and report back, so TBAC always knows what is really live.
- QuickstartYour first time-bound grant in five steps.
- API referenceRequests, grants, revocation and audit endpoints.
- SDKsPHP, Python, JavaScript / TypeScript.
- WebhooksSignature verification, retries and idempotency.
- ExamplesDatabases, SSH, AI agents and IoT.
- API PlaygroundTry the API in your browser (planned).
Preview spec: the API is not public yet. Endpoints and fields may change.
Create an access request
curl -X POST https://api.powerup.com.tw/v1/access-requests \
-H "Authorization: Bearer $TBAC_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: 7f3c1e2a-report-0001" \
-d '{ "resource": "prod-db", "requester": "agent:ai-data-analyst", "scope": "read_only", "duration": "PT30M", "reason": "daily-ops-report", "approvers": ["group:data-leads"], "channels": ["line", "telegram"] }'<?php
$tbac = new PowerUp\Tbac\Client(getenv('TBAC_API_KEY'));
$request = $tbac->accessRequests->create([
'resource' => 'prod-db',
'requester' => 'agent:ai-data-analyst',
'scope' => 'read_only',
'duration' => 'PT30M',
'reason' => 'daily-ops-report',
'approvers' => ['group:data-leads'],
'channels' => ['line', 'telegram'],
]);
echo $request->id; // TBAC-1042
echo $request->status; // pendingimport os
from powerup_tbac import Tbac
tbac = Tbac(api_key=os.environ["TBAC_API_KEY"])
req = tbac.access_requests.create(
resource="prod-db",
requester="agent:ai-data-analyst",
scope="read_only",
duration="PT30M",
reason="daily-ops-report",
approvers=["group:data-leads"],
channels=["line", "telegram"],
)
grant = tbac.access_requests.wait(req.id) # blocks until active / denied / timed_out
print(grant.status, grant.expires_at)import { Tbac } from '@powerup/tbac';
const tbac = new Tbac({ apiKey: process.env.TBAC_API_KEY });
const req = await tbac.accessRequests.create({
resource: 'prod-db',
requester: 'agent:ai-data-analyst',
scope: 'read_only',
duration: 'PT30M',
reason: 'daily-ops-report',
approvers: ['group:data-leads'],
channels: ['line', 'telegram'],
});
console.log(req.id, req.status); // TBAC-1042 pendingimport { Tbac, type WebhookEvent } from '@powerup/tbac';
const tbac = new Tbac({ apiKey: process.env.TBAC_API_KEY! });
// Webhook: verify the signature before trusting the payload
export async function POST(req: Request): Promise<Response> {
const raw = await req.text();
const event: WebhookEvent = tbac.webhooks.verify(
raw,
req.headers.get('tbac-signature'),
process.env.TBAC_WEBHOOK_SECRET!,
);
if (event.type === 'access.expired') {
await revokeDbUser(event.data.grantId); // your system enforces expiry
await tbac.grants.confirmRevoked(event.data.grantId);
}
return new Response(null, { status: 204 });
}Example response
{
"id": "TBAC-1042",
"status": "pending",
"duration": "PT30M",
"approval_deadline": "2026-11-24T06:35:00Z",
"channels": ["line", "telegram"]
}Security & governance
Make time a first-class part of access governance.
Default deny
No valid grant, no access.
Least privilege
Only the resource and actions this task needs.
Just-in-time
Request when needed instead of pre-provisioning.
Time-bound
Every grant has a hard end time.
Enforced expiry
Removed by the target system, with confirmation.
Emergency revoke
Revoke any live grant from any channel.
Multi-party approval
Require more than one approver for high-risk resources.
Full audit trail
Who, when, through which channel, and what.
How approval callbacks stay safe
- Every callback's platform signature and approver identity are verified
- Review tokens are single-use, short-lived and replay-protected
- State changes are atomic; stale or duplicate actions are rejected
- All channels share one request ID and one server state
- High-risk actions require step-up verification (e.g. passkeys)
- Times are stored in UTC and shown in the workspace time zone
PowerUp does not yet hold third-party security certifications. We will list them here once obtained.
Pricing
Start with one app. Grow into enterprise-wide access governance.
Developer
For building and testing integrations.
Join early accessStarter
One app or a small team getting started.
Join early accessBusiness
Several systems and teams with multi-party approval and audit.
Join early accessEnterprise
Org-wide governance, custom integrations, dedicated support.
Contact sales
International pricing is not final. Contact us for a quote in your currency.
About PowerUp
We build secure websites and systems. TBAC grew out of running them.
PowerUp builds websites, business systems and cloud services in Taiwan, and keeps them secure after launch. Responding to leaked keys and over-privileged accounts taught us that most incidents start with access that was opened and never closed — so we made time the core of authorization.
- Corporate websites
- Business systems & web apps
- Security reviews & hardening
From the blog
BREACH NOTES
Incident write-ups for small cloud teams (in Traditional Chinese).
Move your systems from standing access to time-bound access.
Precise, controllable and traceable authorization for people, apps, devices and AI agents.