Skip to content

Update API tokens#833

Merged
douglaswinter merged 1 commit into
mainfrom
dw/update_api_token
Jun 4, 2026
Merged

Update API tokens#833
douglaswinter merged 1 commit into
mainfrom
dw/update_api_token

Conversation

@douglaswinter
Copy link
Copy Markdown
Contributor

No description provided.

@douglaswinter douglaswinter force-pushed the dw/update_api_token branch from 3904f3b to 4c8b68f Compare June 2, 2026 14:58
Copy link
Copy Markdown

@fajinyuan fajinyuan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just a question to help me understand this, why API tokens are coded in repository yaml files? are they public tokens?

@douglaswinter
Copy link
Copy Markdown
Contributor Author

just a question to help me understand this, why API tokens are coded in repository yaml files? are they public tokens?

See https://github.com/DiamondLightSource/developer-portal/#updating-api-tokens: "The portal uses GitHub and GitLab API tokens to query repositories, search for catalog.info files and populate the catalog"

@fajinyuan
Copy link
Copy Markdown

Thanks for the link to the doc. I now understand these are encrypted token. However it will be a pain to do renew these token every 3 months to keep these json files up to date!

@VictoriaBeilsten-Edmands
Copy link
Copy Markdown
Collaborator

It is indeed painful to update these every 3 months.

@douglaswinter douglaswinter merged commit 07dcd2e into main Jun 4, 2026
24 checks passed
@douglaswinter douglaswinter deleted the dw/update_api_token branch June 4, 2026 13:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants