XTAM can create Ephemeral Accounts to support no standing access to privileged systems. This helps support the concept of least privileged using time based workflows to provision and de-provision an account when needed and only with the permissions that are required.
Creating Ephemeral Account Records
Login to XTAM with a System Administrator account.
Navigate to Administration > Record Types, locate the type Windows Host Ephemeral Account and click the Edit button.
Uncheck the Hidden box and click Save.
Now that the Record Type is unhidden, you can log out of the System Administrator account. It is no longer required to complete the configuration.
Navigate to a location in the Vault where you wish to create the record and select Add Record > Windows Host Ephemeral Account.
Create your record using the below as guidance:
- Name: enter a name for your record
- Description: optionally, enter a description for your record
- Host: enter the host for the endpoint where the ephemeral account will be created
- Port: enter the port that will be used for connectivity
- User: enter the username that will be created for the ephemeral account
- Password: leave this field empty
Click Save and Return
After the record is saved, we will now configure the Task that performs the ephemeral account creation process.
In this new record, click Manage > Tasks.
For the Shadow Account, select an existing record that contains the credentials of an account that can create new local accounts on this endpoint. For example, in a Windows domain, this could be a record that contains the credentials of a Domain Administrator account.
- If the Shadow Account field is read-only, that means it is set to inherit this Shadow Account from the record type. In this situation, you will need to navigate to Administrator > Record Types and add this Shadow Account directly to the Tasks list of this type. This will require your System Administrator account again. Alternatively, you can click the Make Unique button to break inheritance from the Record Type.
- If the Shadow Account field is read/write enabled, then enter the name of the record that contains the credentials of an account that can create local accounts on this endpoint.
Once you have the Shadow Account configured, save your change and return to the record.
After the Shadow Account is saved, we will next configure the Workflow, whose approval and subsequent expiration, will trigger the creation and ultimate removal of the ephemeral account.
From the Record, select Manage > Workflows to configure a workflow binding.
On the Workflow Bindings page, you will create a new workflow binding that will be used to request access and once approved, will be used to generate the ephemeral account.
Create the Workflow Binding as needed and click the Save button to complete the process.
That completes the configuration of the Ephemeral Account process. In the next section, we will illustrate the User experience from workflow request through the workflow expiration when the ephemeral account is removed from the host.
The Ephemeral Account Process
Login to XTAM with the user account that was bound by the workflow created in the previous section.
Navigate to this Ephemeral Account record and click the Request Connect button.
Fill out the request access form as required and submit it when completed. During testing, we would recommend requesting a short amount of time (i.e. 5 minutes) so that you do not have to wait too long for the workflow to eventually expire.
If the submitted workflow was not configured for automatic approval, Approve the submitted request to continue.
Once approved, XTAM will begin the Ephemeral Account creation process. Depending on the XTAM queue, this process may take a few seconds or a few minutes to complete. You can follow the process by monitoring the Job History tab of this record.
After the Ephemeral Account is successfully created, the user’s Connect Requested button will change to Connect indicating that the user may now connect to the Host with the Ephemeral account.
Click Connect to create your remote session.
The User will connect to the Host with this newly created ephemeral account. When done, simply Disconnect or Sign Out of the remote session to complete.
Finally, after the workflow’s approved time expires, the user’s Connect button will change back to Request Connect and XTAM will delete this Ephemeral Account from the Host.