Title: Bug: "Create workspace" in dashboard prompts user for sensitive (template) parameters · Issue #1676 · coder/coder · GitHub
Open Graph Title: Bug: "Create workspace" in dashboard prompts user for sensitive (template) parameters · Issue #1676 · coder/coder
X Title: Bug: "Create workspace" in dashboard prompts user for sensitive (template) parameters · Issue #1676 · coder/coder
Description: OS Information OS: Server on Debian 11 Browser (if applicable): Chrome Architecture: AMD64 coder --version: Coder v0.5.11-devel+fa957d6d Mon May 23 15:01:32 UTC 2022 https://github.com/coder/coder/commit/fa957d6d6551073abab25f6c020190f81...
Open Graph Description: OS Information OS: Server on Debian 11 Browser (if applicable): Chrome Architecture: AMD64 coder --version: Coder v0.5.11-devel+fa957d6d Mon May 23 15:01:32 UTC 2022 https://github.com/coder/coder/...
X Description: OS Information OS: Server on Debian 11 Browser (if applicable): Chrome Architecture: AMD64 coder --version: Coder v0.5.11-devel+fa957d6d Mon May 23 15:01:32 UTC 2022 https://github.com/coder/coder/...
Opengraph URL: https://github.com/coder/coder/issues/1676
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Bug: \"Create workspace\" in dashboard prompts user for sensitive (template) parameters","articleBody":"## OS Information\r\n\r\n- OS: Server on Debian 11\r\n- Browser (if applicable): Chrome\r\n- Architecture: AMD64\r\n- `coder --version`: \r\n\r\n ```sh\r\n Coder v0.5.11-devel+fa957d6d Mon May 23 15:01:32 UTC 2022\r\n https://github.com/coder/coder/commit/fa957d6d6551073abab25f6c020190f8182472ae\r\n ```\r\n\r\n## Steps to Reproduce\r\n\r\n1. Add a template to Coder via the CLI, set \"sensitive\" (template-level) variables such as API key or ServiceAccount\r\n2. Log into Coder web UI\r\n3. Create workspace from template\r\n4. Notice you are prompted for the admin variables, such as ServiceAccount and API key. These should only be defined at the template level\r\n\r\n## Expected\r\n\r\nSensitive terraform variables should not show up in \"Create workspace\" UI. The CLI already handles this. \r\n\r\n\u003cimg width=\"1423\" alt=\"Screen Shot 2022-05-23 at 12 05 29 PM\" src=\"https://user-images.githubusercontent.com/22407953/169871648-4d964bf0-2746-4e90-acf9-fb0b7917f07a.png\">\r\n\r\n## Actual\r\n\r\n\u003cimg width=\"1423\" alt=\"Screen Shot 2022-05-23 at 12 01 12 PM\" src=\"https://user-images.githubusercontent.com/22407953/169871509-ad1dc974-037f-4401-9811-1ed5017173ce.png\">\r\n\r\n## Notes\r\n\r\nI did some preliminary testing and this doesn't appear to override the template variables, posing little security risk. However, it is an incorrect UX for users. ","author":{"url":"https://github.com/bpmct","@type":"Person","name":"bpmct"},"datePublished":"2022-05-23T17:09:57Z","url":"https://github.com/coder/coder/issues/1676"}
| 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:15c7f481-2813-2398-3385-439a93737aac |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E276:E9D16:1C97B54:24396B9:6B01934F |
| html-safe-nonce | d49ac7489169d1392cf525dcc9c80291c443818abab676ad59f6ad02c788f30b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMjc2OkU5RDE2OjFDOTdCNTQ6MjQzOTZCOTo2QjAxOTM0RiIsInZpc2l0b3JfaWQiOiIxMDYzOTk2MDk4MzI0MDQyNTc1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 51f776b866849ab7945eb7b5c3468ee52e609c52877251e80294654f77cb34ea |
| hovercard-subject-tag | issue:1245472714 |
| 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/coder/coder/1676/issue_layout |
| twitter:image | https://opengraph.githubassets.com/bddbdc74c6626ed245eec9fbfbc41cbb10c17910d8527635d5fbef5d6ba332ba/coder/coder/issues/1676 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/bddbdc74c6626ed245eec9fbfbc41cbb10c17910d8527635d5fbef5d6ba332ba/coder/coder/issues/1676 |
| og:image:alt | OS Information OS: Server on Debian 11 Browser (if applicable): Chrome Architecture: AMD64 coder --version: Coder v0.5.11-devel+fa957d6d Mon May 23 15:01:32 UTC 2022 https://github.com/coder/coder/... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | bpmct |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| go-import | github.com/coder/coder git https://github.com/coder/coder.git |
| octolytics-dimension-user_id | 95932066 |
| octolytics-dimension-user_login | coder |
| octolytics-dimension-repository_id | 440752086 |
| octolytics-dimension-repository_nwo | coder/coder |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 440752086 |
| octolytics-dimension-repository_network_root_nwo | coder/coder |
| 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 | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width