mirror of
https://github.com/go-gitea/gitea.git
synced 2026-08-29 22:00:54 +00:00
feat: add deploy tokens (#37306)
Deploy keys only work over SSH. A deploy token is their counterpart for HTTPS: a repository scoped credential, used as the password of a Git request, with read or read and write access. It covers Git operations and LFS, and can be regenerated in place. Signed-off-by: silverwind <me@silverwind.io> Co-authored-by: Claude Mythos <noreply@anthropic.com> Co-authored-by: silverwind <me@silverwind.io> Co-authored-by: bircni <bircni@icloud.com> Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
This commit is contained in:
@@ -2387,19 +2387,22 @@
|
||||
"repo.settings.packagist_api_token": "API token",
|
||||
"repo.settings.packagist_package_url": "Packagist package URL",
|
||||
"repo.settings.deploy_keys": "Deploy Keys",
|
||||
"repo.settings.add_deploy_key": "Add Deploy Key",
|
||||
"repo.settings.deploy_key_desc": "Deploy keys have read-only pull access to the repository.",
|
||||
"repo.settings.is_writable": "Enable Write Access",
|
||||
"repo.settings.is_writable_info": "Allow this deploy key to <strong>push</strong> to the repository.",
|
||||
"repo.settings.no_deploy_keys": "There are no deploy keys yet.",
|
||||
"repo.settings.title": "Title",
|
||||
"repo.settings.deploy_key_content": "Content",
|
||||
"repo.settings.add_deploy_key_ssh": "Add SSH key",
|
||||
"repo.settings.deploy_key_ssh_desc": "Add an SSH public key as deploy key, then use its private key to access the repository.",
|
||||
"repo.settings.deploy_key_token_desc": "An HTTP token is used as the password of a Git request over HTTPS for this repository.",
|
||||
"repo.settings.generate_deploy_token": "Generate HTTP Token",
|
||||
"repo.settings.generate_deploy_token_success": "HTTP token %s generated. Copy it now, it is not shown again.",
|
||||
"repo.settings.regenerate_deploy_token_desc": "Regenerating an HTTP token will revoke the current one. Continue?",
|
||||
"repo.settings.regenerate_deploy_token_success": "HTTP token %s regenerated. Copy it now, it is not shown again.",
|
||||
"repo.settings.add_key_success": "Deploy key %s has been added.",
|
||||
"repo.settings.key_been_used": "A deploy key with identical content is already in use.",
|
||||
"repo.settings.key_name_used": "A deploy key with the same name already exists.",
|
||||
"repo.settings.add_key_success": "The deploy key \"%s\" has been added.",
|
||||
"repo.settings.deploy_key_deletion": "Remove Deploy Key",
|
||||
"repo.settings.deploy_key_deletion_desc": "Removing a deploy key will revoke its access to this repository. Continue?",
|
||||
"repo.settings.deploy_key_deletion_success": "The deploy key has been removed.",
|
||||
"repo.settings.deploy_key_deletion_success": "Deploy key %s has been removed.",
|
||||
"repo.settings.branches": "Branches",
|
||||
"repo.settings.protected_branch": "Branch Protection",
|
||||
"repo.settings.protected_branch.save_rule": "Save Rule",
|
||||
|
||||
Reference in New Issue
Block a user