Get-FabricGitCredential
Gets the Git credentials configuration of the current user for a Fabric workspace.
Syntax
Get-FabricGitCredential [-WorkspaceId] <guid> [<CommonParameters>]Description
Returns how the calling user (or service principal) authenticates to Git in the specified workspace: source Automatic, ConfiguredConnection (with connectionId) or None. A WorkspaceId property is added to the output.
Examples
Example 1
Get-FabricGitCredential -WorkspaceId '11111111-1111-1111-1111-111111111111'Returns the current user's Git credentials configuration for the workspace.
Parameters
| Name | Type | Req. | Pos. | Pipeline | Description |
|---|---|---|---|---|---|
| -WorkspaceIdalias: Id | guid | ✓Required | 0 | By name | The ID of the workspace. Accepts pipeline input by property name (alias Id). |
This cmdlet also supports the common parameters, such as -Verbose and -ErrorAction. See about_CommonParameters.
Inputs
System.Guid
{{ Fill in the Description }}
Outputs
System.Management.Automation.PSCustomObject
Object with source
{{ Fill in the Description }}
System.Management.Automation.PSCustomObject
{{ Fill in the Description }}
Notes
https://learn.microsoft.com/en-us/rest/api/fabric/core/git/get-my-git-credentials
Requires the workspace Contributor role or higher.
Author: Kamil Nowinski