Title: Clarify permission level needed to access secrets · Issue #1087 · github/docs · GitHub
Open Graph Title: Clarify permission level needed to access secrets · Issue #1087 · github/docs
X Title: Clarify permission level needed to access secrets · Issue #1087 · github/docs
Description: What article on docs.github.com is affected? https://docs.github.com/en/free-pro-team@latest/actions/reference/encrypted-secrets#creating-encrypted-secrets-for-a-repository What part(s) of the article would you like to see updated? In "C...
Open Graph Description: What article on docs.github.com is affected? https://docs.github.com/en/free-pro-team@latest/actions/reference/encrypted-secrets#creating-encrypted-secrets-for-a-repository What part(s) of the arti...
X Description: What article on docs.github.com is affected? https://docs.github.com/en/free-pro-team@latest/actions/reference/encrypted-secrets#creating-encrypted-secrets-for-a-repository What part(s) of the arti...
Opengraph URL: https://github.com/github/docs/issues/1087
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Clarify permission level needed to access secrets","articleBody":"### What article on docs.github.com is affected?\r\n\r\nhttps://docs.github.com/en/free-pro-team@latest/actions/reference/encrypted-secrets#creating-encrypted-secrets-for-a-repository\r\n\r\n### What part(s) of the article would you like to see updated?\r\n\r\nIn \"Creating encrypted secrets for a repository,\" it says:\r\n\r\n> To create secrets for a user account repository, you must be the repository owner. To create secrets for an organization repository, you must have `admin` access.\r\n\r\nHowever, according to [the API docs](https://docs.github.com/en/free-pro-team@latest/rest/reference/actions#secrets):\r\n\r\n> Authenticated users must have collaborator access to a repository to create, update, or read secrets.\r\n\r\nSo, only admins can use the web interface to access secrets, but users with `write` access or above can use the API (directly, or indirectly, e.g., via Terraform). This is in fact the actual behaviour.\r\n\r\n### Additional information\r\n\r\nThis feels like a security issue, since updating secrets via the API involves not much of a record or oversight AFAICT (as opposed to, say, creating a workflow that dumps all secrets, which could leave traces that a bad actor cannot easily remove). I did report it as one, and the response is that this is intentional to allow users with write access to create and maintain workflows (which is understandable and fine by me). However, the current behaviour can be a bit surprising and the docs a bit time-wasting (I would write Terraform code that my org's admin would then apply, when I could have just applied them myself).","author":{"url":"https://github.com/muru","@type":"Person","name":"muru"},"datePublished":"2020-11-05T07:00:15Z","url":"https://github.com/github/docs/issues/1087"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:53b64cca-47a9-3f34-f987-c2ff1b6f94e6 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 98D6:8FDF6:7A7BD5:A2FCFC:6AFBCFF7 |
| html-safe-nonce | 55f0e8feffc337ede840b09f03ffa8c03acb21e0403cc6d165a2f3bf9eac8659 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5OEQ2OjhGREY2OjdBN0JENTpBMkZDRkM6NkFGQkNGRjciLCJ2aXNpdG9yX2lkIjoiMjY2NDY0NTM5MDY2NTI0MDU2NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | f478740209d646770c2eeea84628a6eeeeaa9a8bdbd787b624049a8c84fefd85 |
| hovercard-subject-tag | issue:736670159 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/github/docs/1087/issue_layout |
| twitter:image | https://opengraph.githubassets.com/ecb08932868e5e4abbc10c72fd3ce8f2ec899c378ff713caa2024307619f5786/github/docs/issues/1087 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ecb08932868e5e4abbc10c72fd3ce8f2ec899c378ff713caa2024307619f5786/github/docs/issues/1087 |
| og:image:alt | What article on docs.github.com is affected? https://docs.github.com/en/free-pro-team@latest/actions/reference/encrypted-secrets#creating-encrypted-secrets-for-a-repository What part(s) of the arti... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | muru |
| hostname | github.com |
| expected-hostname | github.com |
| None | 18742cb872ec73544356e60359266b67aafece70c4ce008042e06227924cdd07 |
| turbo-cache-control | no-preview |
| go-import | github.com/github/docs git https://github.com/github/docs.git |
| octolytics-dimension-user_id | 9919 |
| octolytics-dimension-user_login | github |
| octolytics-dimension-repository_id | 189621607 |
| octolytics-dimension-repository_nwo | github/docs |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 189621607 |
| octolytics-dimension-repository_network_root_nwo | github/docs |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 820be804f18e1ef3940bd74a00d41d73d02e2b91 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width