Authentication
Personal Credentials
We have already used username and password
Users can create Personal Access Tokens
- Used instead of password for
git
operations
- Used to access the API (more later)
Users can add SSH public keys
Permissions inherited from user
Hands-On
- Create a personal access token
- Clone a repository using the PAT instead of the password
Group and Project Credentials
Scoped to group
Group Deploy Tokens (read only)
Group Access Tokens (configurable)
Scoped to project
Project Access Tokens (configurable)
Project Deploy Token (read-only)
Project Deploy SSH Key (read-write)
Hands-On
- Create a project deploy token
- Use it to clone the repository