# Two-factor codes for DigitalOcean, Akamai and Scaleway

[Read this guide on KeySigner](https://keysigner.io/integrations/guides/set-up-cloud-dashboard-sign-in-codes/)

Add a time-based code for a test cloud dashboard user and keep a separate way to recover access.

## Before you start

**KeySigner on iPhone or Mac with Sign-in codes**

- Use a test user who signs in with a DigitalOcean username and password. In My Account → Two-factor authentication, choose Set Up 2FA and the authentication app option. Select backup codes when asked for a backup method.
- Use a test user whose login method is Cloud Manager. Go to Login & Authentication, check that all three security questions are configured, then enable Two-Factor Authentication. Save the scratch code when setup completes.
- Use a test Owner or IAM Member with the required permissions. From your profile menu, open Settings. Under Account security, choose One-time password, then Set up TOTP. Save the backup codes after setup.

## Data and access

- **Shared or checked**. DigitalOcean, Akamai Cloud or Scaleway checks the code you enter for the selected dashboard account.
- **Check separately**. Cloud project memberships and API or infrastructure credentials are separate from the browser’s code requirement.

## 1. Open the test user’s security settings

Follow the account setup for your provider. If the account uses Google or GitHub to sign in to DigitalOcean or Akamai Cloud Manager, manage the second factor in Google or GitHub instead.

**Check.** Identify the provider that actually authenticates this user. Open its code setup for the test identity.

## 2. Add the account in KeySigner

Open Accounts, then Add (+) and Sign-in codes and backup. Unlock Sign-in codes, choose Add account, and scan the setup QR code. Review the time-based entry, check the issuer and account name, then confirm and add it.

![KeySigner’s Add account screen offers Scan QR code, Choose QR image and a setup link field.](https://keysigner.io/integrations/guides/set-up-a-time-based-sign-in-code/keysigner-add-account.png)

Add account in KeySigner for Mac before scanning a test QR code.

**Check.** The saved entry matches the provider and dashboard user you intend to test.

## 3. Enable the code and save the provider’s backup

Choose Show code. If prompted, set up signer protection with a personal signing rule and have the required signers available. Approve and submit a current code in the setup form. For DigitalOcean, choose backup codes when asked for a backup method. Akamai gives you a scratch code. Scaleway shows one-time backup codes after you submit the setup code. Store them where you can reach them independently of the dashboard and KeySigner.

**Check.** The provider shows an active authenticator, and its backup method is reachable independently.

## 4. Check a fresh dashboard session

Leave your original session open and sign in again in a private window. Use a fresh KeySigner code for the test user. If Scaleway offers a passkey first, choose the time-based code option for this test.

**Check.** The private window opens the correct dashboard and user after accepting the fresh code.

## Check your result

The dashboard accepts a fresh time-based code and you can reach the provider’s recovery method. Dashboard access, server access and automation credentials each have their own controls.

[How to verify your setup](https://keysigner.io/integrations/verify-a-setup/)

## If you get stuck

### The dashboard doesn’t show an authenticator setup option

In DigitalOcean and Akamai Cloud Manager, check whether an external provider handles the user’s sign-in. For Akamai’s own sign-in, complete its security questions first. In Scaleway, find One-time password in your account security settings. If you are an IAM Member prompted to complete your security checklist, choose Enable MFA there. Check the provider documentation before changing an existing second factor.

- [This setup key is too short. Ask the service for a key of at least 16 bytes.](https://keysigner.io/integrations/setup-messages/#setup-key-too-short)
- [The code expired. Generate another code.](https://keysigner.io/integrations/setup-messages/#code-expired)

## Tools in this guide

- [DigitalOcean](https://keysigner.io/integrations/digitalocean/)
  - [Review and change team membership](https://docs.digitalocean.com/platform/teams/how-to/manage-membership/)
  - [Setup requirements](https://keysigner.io/integrations/setup-requirements/#digitalocean)
- [Akamai Linode](https://keysigner.io/integrations/akamai-linode/)
  - [Review user roles in Cloud Manager](https://techdocs.akamai.com/cloud-computing/docs/identity-access-cm-manage-access)
  - [Setup requirements](https://keysigner.io/integrations/setup-requirements/#akamai-linode)
- [Scaleway](https://keysigner.io/integrations/scaleway/)
  - [Review IAM policy rules for Scaleway resources](https://github.com/scaleway/terraform-provider-scaleway/blob/main/docs/resources/iam_policy.md)
  - [Setup requirements](https://keysigner.io/integrations/setup-requirements/#scaleway)

## Setup instructions

- [Set up two-factor authentication in DigitalOcean](https://docs.digitalocean.com/platform/accounts/2fa/#enabling-two-factor-authentication)
- [Set up two-factor authentication in Cloud Manager](https://techdocs.akamai.com/cloud-computing/docs/manage-2fa)
- [Enable time-based codes in Scaleway](https://www.scaleway.com/en/docs/account/login-credentials/use-2fa/#enable-totp)
- [Test an authenticator app for an AWS IAM user](https://keysigner.io/integrations/guides/set-up-aws-iam-sign-in-codes/)
- [Import existing codes from Google Authenticator](https://keysigner.io/integrations/guides/import-codes-from-google-authenticator/)
- [Set up codes for GitHub, GitLab, Cloudflare or Bitwarden](https://keysigner.io/integrations/guides/set-up-a-time-based-sign-in-code/)
- [Set up codes for Vultr, OVHcloud, Oracle Cloud or Proxmox VE](https://keysigner.io/integrations/guides/set-up-hosting-account-sign-in-codes/)

[More guides for this task](https://keysigner.io/integrations/tasks/set-up-sign-in-codes/)
