Open Settings and choose the Security tab.
Two-factor authentication
Two-factor authentication asks for a 6-digit code from an authenticator app each time you sign in with your email and password.
- Choose Turn on and enter your password. Accounts that only sign in with Google or GitHub must first set a password.
- Scan the QR code with your authenticator app, or type the key shown under it by hand.
- Enter the 6-digit code the app shows to confirm. Two-factor stays off until this step succeeds.
- Save your backup codes. Each one works once if you lose your phone. They are shown only now, so copy or download them before you close the window.
At sign-in you can tick Trust this device to skip the code on that browser for 30 days. Turning two-factor off removes every trusted device. If you lose your phone, choose Use a backup code on the code page. You can create a new set of backup codes at any time from the same card; the old set stops working.
Signing in with Google or GitHub does not ask for a code, because those providers protect the account themselves. Staff accounts that have two-factor on cannot sign in through a provider and must use their email, password and code.
Require two-factor for your team
Where two-factor is available, an owner or admin can switch on Require two-factor for all members in Settings, Security. You need two-factor on your own account first. Every other member is told in their notifications.
- A member without two-factor is sent to the Security page to set it up, and cannot change anything in the console until they have. They can still open pages and read.
- The owner is never held to the rule, so switching it on cannot lock the owner out. Staff accounts are not affected either.
- Someone invited to the organization sees the requirement on the invitation page before accepting.
- API keys keep working. The requirement applies to people signing in to the console, not to API keys, webhooks or the CLI. Review who can create keys in Teams and roles.
- Switching it on or off is recorded in the audit log.
GET /api/v1/me shows whether your organization requires two-factor (org.requireTwoFactor), and apidly whoami prints it. Only an owner or admin can change the requirement, in the console: an API key cannot switch it off.
Signed-in devices
The Active sessions card lists each browser that is signed in, with the browser, the system and when it was last active. Revoke one, or sign out everywhere else. Changing your password signs out every other device.
Activity log
Settings > Activity shows what happened in your organization, newest first: sign-ins, team invitations and role changes, API and SSH key changes, server actions (who, when, and whether it came from the console or an API key), billing changes and settings changes. Owners and admins can read it. Filter by type, person or date, and export the filtered list as a CSV file.
Admins see IP addresses shortened to the first three parts (for example 203.0.113.0/24); owners see the full address.
The activity log can be downloaded as CSV with GET /api/v1/activity/export or apidly export activity [--category C] [--from DAY] [--to DAY] [--out FILE].
Ready to try it?
Create a free account and add credit when you want to start a server. The smallest top-up is $10.
Was this helpful?