Mirror Repositories Auth Creds #1333

Open
opened 2023-11-07 15:50:29 +00:00 by rootkill · 3 comments

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.

### 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.

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!

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.

But isn't a token revoked on the controlling side? A non expiring token can be disabled regardless from the issuing side.
n0toose added the
question
label 2023-11-27 06:39:28 +00:00
Sign in to join this conversation.
No Milestone
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Codeberg/Community#1333
There is no content yet.