github.com/bradfeehan/terraform@v0.7.0-rc3.0.20170529055808-34b45c5ad841/website/source/docs/providers/gitlab/r/deploy_key.html.markdown (about) 1 --- 2 layout: "gitlab" 3 page_title: "GitLab: gitlab_deploy_key" 4 sidebar_current: "docs-gitlab-resource-deploy_key" 5 description: |- 6 Creates and manages deploy keys for GitLab projects 7 --- 8 9 # gitlab\_deploy\_key 10 11 This resource allows you to create and manage deploy keys for your GitLab projects. 12 13 14 ## Example Usage 15 16 ```hcl 17 resource "gitlab_deploy_key" "example" { 18 project = "example/deploying" 19 title = "Example deploy key" 20 key = "ssh-rsa AAAA..." 21 } 22 ``` 23 24 ## Argument Reference 25 26 The following arguments are supported: 27 28 * `project` - (Required, string) The name or id of the project to add the deploy key to. 29 30 * `title` - (Required, string) A title to describe the deploy key with. 31 32 * `key` - (Required, string) The public ssh key body. 33 34 * `can_push` - (Optional, boolean) Allow this deploy key to be used to push changes to the project. Defaults to `false`. **NOTE::** this cannot currently be managed.