Skip to content

Latest commit

 

History

History
63 lines (43 loc) · 1.34 KB

README.rst

File metadata and controls

63 lines (43 loc) · 1.34 KB

Duo Security

Duo Security Duo Unix - Two-Factor Authentication

Available states

Installs and configures the login_duo package.

Installs and configures the pam_duo package.

Enable the official Duo Security package repository in order to always benefit from the latest version.

Undo the effects of duo.pkgrepo.

Configuration

Every option available as documented by Duo Security can be set in pillar.

duo:
  config:
    ikey: YOUR_INTEGRATION_KEY
    skey: YOUR_SECRET_KEY
    host: YOUR_API_HOSTNAME
    ...

Adding the pillar data config for the OpenSSH formula alongside the Duo formula configuration can easily handle enabling 2FA for sshd.

sshd_config:
  ForceCommand: /usr/sbin/login-duo
  PermitTunnel: False
  AllowTcpForwarding: False
  UseDNS: False