# getSharedGitCredential

> Function getSharedGitCredential in pulumi-portainer.

<!-- Generated from the pulumi-portainer SDK. -->

Function getSharedGitCredential in pulumi-portainer.

Invoke token: `portainer:index/getSharedGitCredential:getSharedGitCredential`.

## Example

Only required arguments are set. A string in angle brackets stands in for that argument. Any other value is an option or example written in the SDK description.

```ts
import * as portainer from "pulumi-portainer"

const result = await portainer.getSharedGitCredential()
```

`getSharedGitCredentialOutput` accepts Input values and returns `Output` of the same result.

## Arguments

| Property | Type     | Required | Description |
| -------- | -------- | -------- | ----------- |
| `id`     | `string` | no       |             |
| `name`   | `string` | no       |             |

## Result

| Property            | Type     | Always present | Description |
| ------------------- | -------- | -------------- | ----------- |
| `authorizationType` | `number` | yes            |             |
| `id`                | `string` | yes            |             |
| `name`              | `string` | no             |             |
| `userId`            | `number` | yes            |             |
| `username`          | `string` | yes            |             |
