Skip to content

dxclabs/duo-formula

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Releases

No releases published

Packages

No packages published

Languages

  • SaltStack 69.1%
  • Jinja 30.9%