All pages
Powered by GitBook
1 of 1

Loading...

Azure VM User Accounts

Rotating local and remote user accounts on Azure Virtual Machines with Keeper

Overview

In this guide, you'll learn how to rotate Azure Virtual Machine local and remote user accounts within the Azure environment using KeeperPAM.

  • See the Azure Overview for a high level overview and getting started with Azure

Prerequisites

  • are configured for your role

  • A Keeper Secrets Manager has been created

  • Your Azure environment is per our documentation

  • A Keeper Rotation is already installed

1. Set up PAM Machine Records

Keeper can rotate any local user account on either the Gateway machine or any other machine on the network. A PAM Machine record should be created for every machine. This PAM Machine record will be associated to a linked administrative credential that has the rights to change passwords for users on the machine.

Once a PAM Machine record is created for every machine, a PAM User record needs to be created for each user account that will be rotated.

The following table lists all the required fields that needs to be filled on the PAM Machine records.

Field
Description

2. Set up PAM Configuration

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

Make sure the following items are completed first:

  • A Keeper Secrets Manager has been created

  • A Keeper Rotation is already installed, running, and is provisioned in the Keeper Secrets Manager application you created.

  • PAM Machine records have been created for each target machine

If you are creating a new PAM Configuration, login to the Keeper Vault and select "Secrets Manager", then select the "PAM Configurations" tab, and click on "New Configuration". The following table lists all the required fields that needs to be filled on the PAM Configuration.

Field
Description

For more details on all the configurable fields in the PAM Configuration record, visit this .

3. Set up PAM User records

Keeper Rotation will use the credentials linked from the PAM Machine record to rotate the credentials of accounts referenced by the PAM User records.

The following table lists all the required fields that need to be filled on the PAM User record:

Field
Description

4. Configure Rotation on the PAM User records

Select the PAM User record(s) from Step 3, 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 admin credential specific to this user's machine.

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

Helpful Resources

Service Management

Keeper can automatically update the Windows service account "log on as" credentials for any Windows services running as the PAM User, and restart the service. Keeper will also update the credential of any scheduled task running as that user on the target machine.

To learn more and set up this capability, see the page.

The Gateway can communicate to the target Windows machine using WinRM or SSH

  • PowerShell is available on all Windows machines and bash on all Linux targets

  • For WinRM, if selected, will use SSL mode port 5986. Ignored for SSH.

    The unique Application (client) ID assigned to your app by Azure AD when the application was registered.

    Client Secret

    The client credentials secret for the Azure application.

    Subscription ID

    The UUID that identifies your subscription (i.e. Pay-As-You-GO) to use Azure services.

    Tenant ID

    The UUID of the Azure Active Directory

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

    Title

    Name of the Record e.g. Windows Machine 1

    Hostname or IP Address

    Machine hostname or IP as accessed by the Gateway, e.g. 10.0.1.4

    Port

    Typically 5985 or 5986 for WinRM, 22 for SSH

    Private PEM Key

    Required for SSH if not using a password

    Operating System

    The VM Operating System: Windows or Linux

    Title

    Configuration name, example: Azure Demo

    Environment

    Select: Azure Network

    Gateway

    Select the Gateway that is configured on the Keeper Secrets Manager application and has network access to the machine configured from step 1

    Application Folder

    Select the Shared folder where the PAM Configuration will be stored. We recommend placing this in a shared folder with the admin accounts, not the machines.

    Azure ID

    A unique ID for this instance of Azure. This is for your reference and can be anything, but its recommended to be kept short Ex: Azure-prod

    Title

    Keeper record title i.e. Local User1

    Login

    Case sensitive username of the account being rotated. The username has to be in one of the following formats: domain\username username@domain

    Password

    Account password is optional, rotation will set one if blank

    Rotation enforcements
    application
    configured
    gateway
    application
    gateway
    page
    Setting up WinRM on your Azure VM
    Service Management

    SSL Verification

    Client ID