ConfigurationΒΆ

Before you can begin using the LaunchKey API, you need an service. If you have not created a service yet, you can use our Getting Started Guide to create one.

Place your private.key file in a sensible location like /etc/mfa/private.key. Then create a PAM config file:

Example:

$ sudo touch /etc/pam.d/mfa

Now, open the config file you just created and add the following line, ensuring you replace the secret key, service key and private key with your relevant information.

ParametersΒΆ

service key:integer Unique 10-digit Service Key
secret key:string service Secret Key
private key:string Path to private.key

Example:

# /etc/pam.d/mfa               Service Key    Secret Key                        Path to Private Key
auth required pam_launchkey.so 1543215647 cladfjekru39590dfjk3589034aerety  /etc/mfa/private.key

User Contributed

LaunchKey links to user contributed code as a resource to its community. LaunchKey does not in any way guarantee or warrant the quality and security of these code bases. User contributed code is supported by the creators. If you do find a link from the site to user contributed code that is malicious or inappropriate in any way, please report that link to LaunchKey immediately and we will investigate the claim. Submit any issue to LaunchKey support at https://launchkey.com./support. ×