> ## Documentation Index
> Fetch the complete documentation index at: https://docs.paradime.io/llms.txt
> Use this file to discover all available pages before exploring further.

# DeployKeyConnectionInput

> Connect a repository with the workspace's deploy key.



**Kind**: `input`

## Fields

**`provider`**: `GitProvider!` (required)

The service hosting the repository.

---

**`uri`**: `String!` (required)

The repository's SSH URI, e.g. git@github.com:org/repo.git.

---

**`dbtProjectDir`**: `String`

The folder inside the repository that holds `dbt_project.yml`. Leave it out when the file is at the repository's root.

---

**`validate`**: `Boolean` = true

Clone the repository now, in a job, and check `dbt_project.yml`. With `false` the repository is only saved, as `PENDING_VALIDATION`, until the deploy key is added to it; a workspace that already has a clone needs `true` to change.

---

**`force`**: `Boolean` = false

Replace a cloned repository with another one. Without it, connecting a different repository to a workspace that has a clone is a `CONFLICT`.



## Related topics

- [Admin client: git repository](https://docs.paradime.io/developers/python-sdk/modules/admin/git.md)
- [Administration API: Git repositories](https://docs.paradime.io/developers/graphql-api/admin-api/git-repositories.md)
- [Admin client: warehouse connections](https://docs.paradime.io/developers/python-sdk/modules/admin/connections.md)
- [Onboard a workspace with the API](https://docs.paradime.io/guides/set-up-and-configure/onboard-a-workspace-with-the-api.md)
- [Importing a repository](https://docs.paradime.io/products/settings/git-repositories/importing-a-repository/index.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.