macOS User

Rotating Local Mac User Accounts with Keeper Rotation

Overview

In this guide, you'll learn how to remotely rotate MacOS accounts via SSH using Keeper Rotation. For a high-level overview on the rotation process in the local network, visit this page.

Prerequisites

This guide assumes the following tasks have already taken place:

  • Keeper Secrets Manager is enabled for your role

  • Keeper Rotation is enabled for your role

  • A Keeper Secrets Manager application has been created

  • A Keeper Rotation gateway is already installed, running, and is able to communicate via SSH to your MacOS device.

1. Set up a PAM Machine resource

Keeper Rotation will use the linked admin credential to rotate other accounts in your environment. This account does not need to be joined to a domain, or a full admin account, but the account needs to be able to successfully change passwords for other accounts.

PAM Directory Record Fields

Field
Description

Record Type

PAM Machine

Title

My macOS User

Hostname or IP Address

IP address or hostname of the directory macOS device. Use localhost if the gateway is installed on the device. Examples: 10.10.10.10, MarysMacBook, localhost

Port

SSH port, typically: 22 - SSH is required for rotation.

Use SSL

Must be enabled

Administrative Credentials

Linked PAM User record that contains the username and password (or SSH Key) of the Admin account which will perform the rotation.

Operating System

For Mac OS rotation, use: MacOS

2. Set up a PAM Configuration

Note: You can skip this step if you already have a PAM Configuration set up for this environment.

In the left menu of the vault, select "Secrets Manager", then select the "PAM Configurations" tab. Create a new configuration:

Field
Description

Title

Configuration name, example: MAC Rotation

Environment

Select: Local Network

Gateway

Select the Gateway that has SSH access to your MacOS devices

Application Folder

Select the Shared folder where the PAM Configuration will be stored. We recommend placing this in a shared folder with the PAM User records, not the machine resources.

Default Rotation Schedule

Optional

3. Set up one or more PAM user records

Keeper Rotation will use the linked credentials in the PAM Machine record to rotate the PAM User records in your environment.

PAM User Record Fields

Field
Description

Record Type

PAM User

Title

Keeper record title

Login

Case sensitive username of the account being rotated. Example: msmith

Password

Account password is optional, rotation will set one if blank

Other fields

These should be left blank

4. Configure Rotation on the PAM User records

Select the PAM User record, edit the record and open the "Password Rotation Settings".

  • Select the desired schedule and password complexity.

  • The "Rotation Settings" should use the PAM Configuration setup previously.

  • The "Resource Credential" field should select the "PAM Machine" credential setup previously.

  • Upon saving, the rotation button will be enabled and available to rotate on demand, or via the selected schedule.

Any user with edit rights to a PAM User record has the ability to setup rotation for that record.

Last updated

Was this helpful?