Authy: step by step Multi-Factor Authentication configuration for Github and AWS
Tags: security, aws, github
Published: 2019-04-17 17:22:10

---
title: Authy: step by step Multi-Factor Authentication configuration for Github and AWS
published: true
tags: Security,AWS,Github
canonical_url: https://rtfm.co.ua/en/authy-step-by-step-multi-factor-authentication-configuration-for-github-and-aws/
---

### ![](https://rtfm.co.ua/wp-content/uploads/2019/04/authy.png)

I’m sure that using MFA (Multi-Factor Authentication) today is oblivious.

For 2FA (2-Factor Authentication) the most used method is [TOTP](https://en.wikipedia.org/wiki/Time-based_One-time_Password_algorithm) – _Time-based One-time Password_, when alongside with the common login:password also needs to enter a code generated by a device or software.

The most known implementation is Google Authenticator but also there is a lot of other solutions.

On the last couple of days, I was looking for such a solution for our project and have found the Authy – really nice and usable thing.

### Authy vs Google Authenticator

Authy benefits in a few words:

1. it’s not tied to a concrete device – can be installed on multiple cellphones (but still the original phone number will be used)
2. has desktop applications for Windows, macOS, and browsers extension to make access to codes more simple, also – you’ll not be dependent on phone device and still be able to log in if you left your phone on a kitchen
3. create accounts backup – when installing Authy on a new device it will restore all your records

See more [here>>>](https://authy.com/blog/authy-vs-google-authenticator/).

### InstallingAuthy

Install on a phone from Google Play on Apple Store:

[![](https://rtfm.co.ua/wp-content/uploads/2019/04/Screenshot_20190416-171916.png "Authy: настройка Multi-Factor Authentication для Github и AWS")](https://rtfm.co.ua/wp-content/uploads/2019/04/Screenshot_20190416-171916.png)

Set your mobile number – it will be also used for authorization on other devices, and your email.

Authorize using SMS or phone call. Best to use SMS as calls will be done via Viber and can be with awful quality:

[![](https://rtfm.co.ua/wp-content/uploads/2019/04/Screenshot_20190416-172102-1.png "Authy: настройка Multi-Factor Authentication для Github и AWS")](https://rtfm.co.ua/wp-content/uploads/2019/04/Screenshot_20190416-172102-1.png)

The is also [AUR package](https://aur.archlinux.org/packages/authy/) for Arch Linux but I didn’t use it and not sure it has a sense as there is nice Chrom’es extension.

Install an [application](https://chrome.google.com/webstore/detail/authy-chrome-extension/fhgenkpocbhhddlgkjnfghpjanffonno) for Chrome via Chrome Apps and extension for quick access.

Application without the extension can be launched via [chrome://apps](chrome://apps/).

For Windows and macOS applications can be downloaded from the [downloads page](https://authy.com/download/).

Authorize again using SMS:

[![](https://rtfm.co.ua/wp-content/uploads/2019/04/Screenshot_20190416_172339-1.png "Authy: настройка Multi-Factor Authentication для Github и AWS")](https://rtfm.co.ua/wp-content/uploads/2019/04/Screenshot_20190416_172339-1.png)


### Configuring Github MFA

Documentation [here>>>](https://help.github.com/en/articles/configuring-two-factor-authentication#configuring-two-factor-authentication-using-a-totp-mobile-app).

Go to the _Settings > Security_, click on the _Enable two-factor authentification_:

[![](https://rtfm.co.ua/wp-content/uploads/2019/04/Screenshot_20190416_180938.png "Authy: настройка Multi-Factor Authentication для Github и AWS")](https://rtfm.co.ua/wp-content/uploads/2019/04/Screenshot_20190416_180938.png)

Click on the _Set up using an app_:

[![](https://rtfm.co.ua/wp-content/uploads/2019/04/Screenshot_20190416_181058.png "Authy: настройка Multi-Factor Authentication для Github и AWS")](https://rtfm.co.ua/wp-content/uploads/2019/04/Screenshot_20190416_181058.png)

On the next page, you’ll get codes to restore access in case if you’ll lose your MFA-device.

**Save them!**

[![](https://rtfm.co.ua/wp-content/uploads/2019/04/Screenshot_20190416_181114.png "Authy: настройка Multi-Factor Authentication для Github и AWS")](https://rtfm.co.ua/wp-content/uploads/2019/04/Screenshot_20190416_181114.png)

On your phone open Authy, click the _Add account_ and set [backups](https://authy.com/features/backup/) password:

[![](https://rtfm.co.ua/wp-content/uploads/2019/04/Screenshot_20190416-181322.png "Authy: настройка Multi-Factor Authentication для Github и AWS")](https://rtfm.co.ua/wp-content/uploads/2019/04/Screenshot_20190416-181322.png)

The same password will be used to access your data from other Authy applications so store and remember it.

Github will display QR-код:

[![](https://rtfm.co.ua/wp-content/uploads/2019/04/Screenshot_20190416_181223-1.png)](https://rtfm.co.ua/wp-content/uploads/2019/04/Screenshot_20190416_181223-1.png)

Scan it from your phone:

[![](https://rtfm.co.ua/wp-content/uploads/2019/04/Screenshot_20190416-181510.png "Authy: настройка Multi-Factor Authentication для Github и AWS")](https://rtfm.co.ua/wp-content/uploads/2019/04/Screenshot_20190416-181510.png)

Choose a logo and save new account:

[![](https://rtfm.co.ua/wp-content/uploads/2019/04/Screenshot_20190416-181805.png "Сканируем QR-код:")](https://rtfm.co.ua/wp-content/uploads/2019/04/Screenshot_20190416-181805.png)

After creating a new account Authy will start displaying generated codes.

Enter it at the bottom on the Github page:

[![](https://rtfm.co.ua/wp-content/uploads/2019/04/Screenshot_20190416_182711.png "Authy: настройка Multi-Factor Authentication для Github и AWS")](https://rtfm.co.ua/wp-content/uploads/2019/04/Screenshot_20190416_182711.png)

Done:

[![](https://rtfm.co.ua/wp-content/uploads/2019/04/Screenshot_20190416_182821.png "Authy: настройка Multi-Factor Authentication для Github и AWS")](https://rtfm.co.ua/wp-content/uploads/2019/04/Screenshot_20190416_182821.png)

On this page you also will be able to configure SMS to restore access – **do it** :

[![](https://rtfm.co.ua/wp-content/uploads/2019/04/Screenshot_20190416_182845.png "Authy: настройка Multi-Factor Authentication для Github и AWS")](https://rtfm.co.ua/wp-content/uploads/2019/04/Screenshot_20190416_182845.png)

### Configuring AWS MFA

Repeat for AWS.

The documentation is available [here>>>](https://authy.com/guides/amazon/) but it’s a bit outdated.

Go to the _Security Credentials_:

[![](https://rtfm.co.ua/wp-content/uploads/2019/04/Screenshot_20190416_185336.png "Authy: настройка Multi-Factor Authentication для Github и AWS")](https://rtfm.co.ua/wp-content/uploads/2019/04/Screenshot_20190416_185336.png)

Click on the _Activate MFA_:

[![](https://rtfm.co.ua/wp-content/uploads/2019/04/Screenshot_20190416_185406.png "Authy: настройка Multi-Factor Authentication для Github и AWS")](https://rtfm.co.ua/wp-content/uploads/2019/04/Screenshot_20190416_185406.png)

By default the _Virtual MFA device_ will be checked – leave it and press _Continue_:

[![](https://rtfm.co.ua/wp-content/uploads/2019/04/Screenshot_20190416_185511.png "Authy: настройка Multi-Factor Authentication для Github и AWS")](https://rtfm.co.ua/wp-content/uploads/2019/04/Screenshot_20190416_185511.png)

Click the _Show QR Code_:

[![](https://rtfm.co.ua/wp-content/uploads/2019/04/Screenshot_20190416_185531.png "Authy: настройка Multi-Factor Authentication для Github и AWS")](https://rtfm.co.ua/wp-content/uploads/2019/04/Screenshot_20190416_185531.png)

Scan it, create the account in Authy and enter the code from your Authy application at the bottom, then wait when it will be updated with a new one – and enter again:

[![](https://rtfm.co.ua/wp-content/uploads/2019/04/Screenshot_20190416_185744.png "Authy: настройка Multi-Factor Authentication для Github и AWS")](https://rtfm.co.ua/wp-content/uploads/2019/04/Screenshot_20190416_185744.png)

Done.

### Similar posts

- <small>04/16/2019</small> [Jenkins: a job to check a Github organization’s public repositories list](https://dev.to/setevoy/jenkins-a-job-to-check-a-github-organization-s-public-repositories-list-129p)<small> (0)</small>  
- <small>04/03/2019</small> [MySQL/MariaDB: like Petya ransomware for MySQL and ‘root’@’%’ access](https://dev.to/setevoy/mysql-mariadb-like-petya-ransomware-for-mysql-and-root-access-11hk)<small> (0)</small>  
- <small>03/28/2017</small> [Arch: Git – github.com errno=Connection refused](https://rtfm.co.ua/arch-git-github-com-errnoconnection-refused/)<small> (0)</small>