Commit 9e990d4b authored by Evan Read's avatar Evan Read

Merge branch 'selhorn-deploykeystokens' into 'master'

Noting menu change for deploy keys and tokens

See merge request gitlab-org/gitlab!26523
parents 52ffbbb9 5ec8be54
...@@ -343,12 +343,16 @@ This is really useful for cloning repositories to your Continuous ...@@ -343,12 +343,16 @@ This is really useful for cloning repositories to your Continuous
Integration (CI) server. By using deploy keys, you don't have to set up a Integration (CI) server. By using deploy keys, you don't have to set up a
dummy user account. dummy user account.
If you are a project maintainer or owner, you can add a deploy key in the Project maintainers and owners can add a deploy key. To add one:
project's **{settings}** **Settings > CI / CD** page by expanding the
**Deploy Keys** section. Specify a title for the new 1. Go to the settings page:
deploy key and paste a public SSH key. After this, the machine that uses - On GitLab 12.8 and earlier, navigate to the project's **Settings > Repository**.
the corresponding private SSH key has read-only or read-write (if enabled) - On GitLab 12.9 and later, navigate to the project's **Settings > CI / CD**.
access to the project. 1. Expand the **Deploy Keys** section.
1. Specify a title for the new deploy key and paste a public SSH key.
After this, the machine that uses the corresponding private SSH key has read-only or
read-write (if enabled) access to the project.
You can't add the same deploy key twice using the form. You can't add the same deploy key twice using the form.
If you want to add the same key to another project, please enable it in the If you want to add the same key to another project, please enable it in the
...@@ -387,9 +391,14 @@ of broader usage for something like "Anywhere you need to give read access to ...@@ -387,9 +391,14 @@ of broader usage for something like "Anywhere you need to give read access to
your repository". your repository".
Once a GitLab administrator adds the Global Deployment key, project maintainers Once a GitLab administrator adds the Global Deployment key, project maintainers
and owners can add it in project's **{settings}** **Settings > CI / CD** page by expanding the and owners can add it by:
**Deploy Keys** section and clicking **Enable** next to the appropriate key listed
under **Public deploy keys available to any project**. 1. Navigating the settings page:
- On GitLab 12.8 and earlier, the project's **Settings > Repository** page.
- On GitLab 12.9 and later, the project's **Settings > CI / CD** page.
1. Expanding the **Deploy Keys** section.
1. Clicking **Enable** next to the appropriate key listed under
**Public deploy keys available to any project**.
NOTE: **Note:** NOTE: **Note:**
The heading **Public deploy keys available to any project** only appears The heading **Public deploy keys available to any project** only appears
......
# Deploy Tokens # Deploy Tokens
> [Introduced][ce-17894] in GitLab 10.7. > - [Introduced][ce-17894] in GitLab 10.7.
> - [Moved](https://gitlab.com/gitlab-org/gitlab/issues/199370) from **Settings > Repository** in GitLab 12.9.
Deploy tokens allow to download (through `git clone`), or read the container registry images of a project without the need of having a user and a password. Deploy tokens allow you to download (through `git clone`) or read the container registry images of a project without having a user and a password.
Please note, that the expiration of deploy tokens happens on the date you define, Please note that deploy tokens expire on the date you define,
at midnight UTC and that they can be only managed by [maintainers](../../permissions.md). at midnight UTC, and that they can be only managed by [maintainers](../../permissions.md).
## Creating a Deploy Token ## Creating a Deploy Token
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment