File tree Expand file tree Collapse file tree 1 file changed +23
-0
lines changed
docs/command-documentation/reference Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Original file line number Diff line number Diff line change @@ -30,6 +30,13 @@ Connect-Rubrik [-Server] <String> [-Token] <String> [-OrganizationID <String>] [
3030 [-WhatIf] [-Confirm] [<CommonParameters>]
3131```
3232
33+ ### Service Account
34+ ```
35+ Connect-Rubrik [-Server] <String> [-Id] <String> [-Secret] <String> [-OrganizationID <String>]
36+ [-UserAgent <Hashtable>] [-WhatIf] [-Confirm] [-RedirectToRSC] [<CommonParameters>]
37+
38+ ```
39+
3340## DESCRIPTION
3441The Connect-Rubrik function is used to connect to the Rubrik RESTful API and supply credentials to the /login method.
3542Rubrik then returns a unique token to represent the user's credentials for subsequent calls.
@@ -75,6 +82,22 @@ Connect-Rubrik -Server 192.168.1.1 -Username admin -UserAgent @{platform_integra
7582
7683This will connect to Rubrik with a username of "admin" to the IP address 192.168.1.1, will prompt for password and provide additional information in the user-agent string.
7784
85+ ### EXAMPLE 6
86+ ```
87+ Connect-Rubrik -Server 192.168.1.1 -Id "Service Account ID" -Secret "Service Account Secret"
88+ ```
89+
90+ Connect to Rubrik cluster utilizing a Service Account ID and Secret
91+
92+ ### EXAMPLE 7
93+ ```
94+ Connect-Rubrik -Server 192.168.1.1 -Id "Service Account ID" -Secret "Service Account Secret" -RedirectToRSC
95+ ```
96+
97+ Connect to Rubrik cluster utilizing a Service Account ID and Secret, redirecting certain cmdlets to utilized RSC GraphQL
98+ APIs where appropriate.
99+
100+
78101## PARAMETERS
79102
80103### -Server
You can’t perform that action at this time.
0 commit comments