# getSshKey

> Function getSshKey in pulumi-teamcity.

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

Function getSshKey in pulumi-teamcity.

Invoke token: `teamcity:index/getSshKey:getSshKey`.

## 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 teamcity from "pulumi-teamcity"

const result = await teamcity.getSshKey({
  name: "<name>",
  projectId: "<projectId>",
})
```

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

## Arguments

| Property    | Type     | Required | Description |
| ----------- | -------- | -------- | ----------- |
| `name`      | `string` | yes      |             |
| `projectId` | `string` | yes      |             |

## Result

| Property    | Type     | Always present | Description |
| ----------- | -------- | -------------- | ----------- |
| `name`      | `string` | yes            |             |
| `projectId` | `string` | yes            |             |
