Mirror Repositories Auth Creds #1333
Labels
No Label
bug
Codeberg
contribution welcome
docs
duplicate
enhancement
infrastructure
legal
licence / ToS
public relations
question
s/Gitea/Forgejo
s/Pages
s/Weblate
s/Woodpecker
security
service
spam
upstream
wontfix
No Milestone
No Assignees
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: Codeberg/Community#1333
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
Comment
Hello, I want to mirror certain repositories to Github, and github is set to use a PAT, so for setting up multiple repositories it requires me to add PAT to every Mirror Auth Cred, and the GH PAT Expires, so it requires me to update all those mirror repos with new PAT.
Is there something I am missing ?
I want to have these PATs to be stored in as a secret or something which I can change in one place and Codeberg repos automatically picks the updated Auth Creds to push to Mirror Repos.
Apologies if I have missed some important information which may be already available, but if there is something which I can use for reference please share a link or the information for setting this properly.
There is no way to update the Token on a central place in Codeberg. You have to Update it for each repo. You could however use a token which don't expire.
Well that's not desirable, Tokens sometimes need to be revoked on-purpose.
Well it'll be quite hectic to store tokens in every repository, only If I could place it in a secrets which go by names (identifiers) and I can then set up the repos to use that secret (by identifier) whose values I can update anytime i want, would be really awesome.
But cool, no problem!
But isn't a token revoked on the controlling side? A non expiring token can be disabled regardless from the issuing side.