Initialize-CafAdoServiceConnections
Initializes Azure DevOps service connections for all projects defined in the .azcontext file.
Syntax
Initialize-CafAdoServiceConnections
[-Type <string>]
[-WhatIf]
Description
Calls Initialize-CafAdoToARMServiceConnection for each project defined in the .azcontext file. Supports both secretBased and federated service connection types.
Example
Initialize-CafAdoServiceConnections -Type "federated" -WhatIf
Parameter
-Type The type of service connection to create.
| Property | Value |
|---|---|
| Type: | string |
| Allowed values: | ["secretBased", "federated"] |
| Default value: | "federated" |
| Required: | False |
-WhatIf
If specified, only simulates the deployment without making any changes.
| Property | Value |
|---|---|
| Type: | SwitchParameter |
| Default value: | False |
| Required: | False |