# SharedGitCredential

> Resource SharedGitCredential in pulumi-portainer.

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

Resource SharedGitCredential in pulumi-portainer.

Pulumi type: `portainer:index/sharedGitCredential:SharedGitCredential`.

`name` is the Pulumi resource name. Nested object fields are documented under that object. They are not arguments of this resource.

## 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 resource = new portainer.SharedGitCredential("sharedGitCredential", {
  password: "<password>",
  username: "<username>",
})
```

## Arguments

| Property                | Type     | Required | Description                              |
| ----------------------- | -------- | -------- | ---------------------------------------- |
| `authorizationType`     | `number` | no       | Authorization type: 0 = Basic, 1 = Token |
| `name`                  | `string` | no       | Name of the shared git credential        |
| `password`              | `string` | yes      | Password or token for git authentication |
| `sharedGitCredentialId` | `string` | no       |                                          |
| `username`              | `string` | yes      | Username for git authentication          |

## Outputs

Computed outputs are produced by the provider. They are not constructor arguments.

| Property                | Type     | Computed | Description                              |
| ----------------------- | -------- | -------- | ---------------------------------------- |
| `authorizationType`     | `number` | no       | Authorization type: 0 = Basic, 1 = Token |
| `name`                  | `string` | no       | Name of the shared git credential        |
| `password`              | `string` | no       | Password or token for git authentication |
| `sharedGitCredentialId` | `string` | no       |                                          |
| `userId`                | `number` | yes      | User ID of the credential owner          |
| `username`              | `string` | no       | Username for git authentication          |
