Files
gitea-token-access/config.example.ini
delta-cloud-208e 295afe9b2a feat: initial repo — docs and scripts for Gitea read-only token access
Three-layer access scheme: owner -> reader account -> scoped API token.
Includes 6 automation scripts, config template, EN/RU docs, and manual curl guide.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-21 14:47:04 +00:00

19 lines
472 B
INI

[gitea]
url = https://git.example.com
api_url = https://git.example.com/api/v1
[owner]
# Admin account that owns the repositories
username = myuser
password = mypassword
[reader]
# Restricted read-only account
username = myreader
password = readerpassword
email = myreader@noreply.local
token_name = installer-readonly
token_scope = read:repository
# After running setup-reader.sh, the token will be written here:
# token = sha1_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx