Title: [SecretsManagement][Design] Set-Secret should support -Force · Issue #50 · PowerShell/Modules · GitHub
Open Graph Title: [SecretsManagement][Design] Set-Secret should support -Force · Issue #50 · PowerShell/Modules
X Title: [SecretsManagement][Design] Set-Secret should support -Force · Issue #50 · PowerShell/Modules
Description: Summary of the new feature/enhancement As a developer of vault extensions In order to support overwriting My Set-Secret implementation should be able to SupportsShouldProcess Specifically, as a PowerShell developer, I am not comfortable ...
Open Graph Description: Summary of the new feature/enhancement As a developer of vault extensions In order to support overwriting My Set-Secret implementation should be able to SupportsShouldProcess Specifically, as a Pow...
X Description: Summary of the new feature/enhancement As a developer of vault extensions In order to support overwriting My Set-Secret implementation should be able to SupportsShouldProcess Specifically, as a Pow...
Opengraph URL: https://github.com/PowerShell/Modules/issues/50
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[SecretsManagement][Design] Set-Secret should support -Force","articleBody":"# Summary of the new feature/enhancement\r\n\r\nAs a developer of vault extensions\r\nIn order to support overwriting\r\nMy Set-Secret implementation should be able to SupportsShouldProcess \r\n\r\nSpecifically, as a PowerShell developer, I am not comfortable shipping a function named `Set-Secret` that automatically overwrites secrets by default -- even if it is \"hidden\" in a specially named folder. Someone, somewhere is going to use that command without using SecretsManagement. So although SecretsManagement may implement logic to prevent acidental overwriting, **I cannot rely on that** particular implementation being the only one that calls this code.\r\n\r\nAs a C# developer, I'm not totally comfortable with that model for critical secrets either, and would prefer to write explicit `Add` and `Update` functions. I can live with `Set`, but would prefer it to have a `bool overwrite = false` parameter so I can be sure that all callers understands what is expected.\r\n\r\n# Proposed technical implementation details (optional)\r\n\r\n- Implementing script vault extensions would have a `[switch]$Force` parameter in `Set-Secret` which SecretsManagement would set (only) when appropriate.\r\n- Implementing compiled/binary vault extensions would have a `bool overwrite = false` parameter which SecretsManagement would set (only) when appropriate.","author":{"url":"https://github.com/Jaykul","@type":"Person","name":"Jaykul"},"datePublished":"2020-02-17T20:47:05Z","url":"https://github.com/PowerShell/Modules/issues/50"}
| 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:ba1aca80-f79e-ff1e-91b4-3d4f7613a83e |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DC32:2574EF:5AD7F:7B141:6AFD3CF9 |
| html-safe-nonce | c13db240119051001a7420752f89572ba7f45b291a04bcb2bed209600a1c8828 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQzMyOjI1NzRFRjo1QUQ3Rjo3QjE0MTo2QUZEM0NGOSIsInZpc2l0b3JfaWQiOiI3MjE1ODI3NTIxODk0MTY5ODQ5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 9efd1dd1363ffc2d517f59ebcd14d93533f61c5e1fe3aea48ea398982a5c5486 |
| hovercard-subject-tag | issue:566510193 |
| 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/PowerShell/Modules/50/issue_layout |
| twitter:image | https://opengraph.githubassets.com/69ff11842c1bb1ea7b9dac17f3977c87521cbff3edee3f51d6d4e609a8683ad5/PowerShell/Modules/issues/50 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/69ff11842c1bb1ea7b9dac17f3977c87521cbff3edee3f51d6d4e609a8683ad5/PowerShell/Modules/issues/50 |
| og:image:alt | Summary of the new feature/enhancement As a developer of vault extensions In order to support overwriting My Set-Secret implementation should be able to SupportsShouldProcess Specifically, as a Pow... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Jaykul |
| hostname | github.com |
| expected-hostname | github.com |
| None | bdbacc25b921224ff0befcb9e629560a1255be51aec9991d6e3f95b5e9151474 |
| turbo-cache-control | no-preview |
| go-import | github.com/PowerShell/Modules git https://github.com/PowerShell/Modules.git |
| octolytics-dimension-user_id | 11524380 |
| octolytics-dimension-user_login | PowerShell |
| octolytics-dimension-repository_id | 197814114 |
| octolytics-dimension-repository_nwo | PowerShell/Modules |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 197814114 |
| octolytics-dimension-repository_network_root_nwo | PowerShell/Modules |
| 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 | 556dd37bb0aceffb25724e151b5d858b3265b40b |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width