rubrikinc / rubrik-sdk-for-powershell

Rubrik Module for PowerShell
https://build.rubrik.com/sdks/powershell/
MIT License
102 stars 87 forks source link

Mpreston serviceaccount #814

Closed mwpreston closed 1 year ago

mwpreston commented 1 year ago

Description

This PR contains minor changes to the Connect-Rubrik cmdlet including the addition of a new parameterset and code to support logging into Rubrik CDM with a Service Account ID and Secret.

Related Issue

Resolve #812

Motivation and Context

This allows for a more secure way to authenticate to Rubrik when running scripts. Also provides a workaround for those organizations that fully leverage MFA - Acts as a workaround for #767

How Has This Been Tested?

Tested against clusters within the Tech Marketing Lab

Screenshots (if appropriate):

Types of changes

What types of changes does your code introduce? Put an x in all the boxes that apply:

Checklist:

Go over all the following points, and put an x in all the boxes that apply. If you're unsure about any of these, don't hesitate to ask. We're here to help!