Title: [SecretsManagement] [Design] Improved Script Extension Provider Model · Issue #42 · PowerShell/Modules · GitHub
Open Graph Title: [SecretsManagement] [Design] Improved Script Extension Provider Model · Issue #42 · PowerShell/Modules
X Title: [SecretsManagement] [Design] Improved Script Extension Provider Model · Issue #42 · PowerShell/Modules
Description: Summary of the new feature/enhancement As a Powershell Developer, I want the highest performance and least friction method to add secrets vault support to my Powershell Script modules. The current binary module implementation seems fine,...
Open Graph Description: Summary of the new feature/enhancement As a Powershell Developer, I want the highest performance and least friction method to add secrets vault support to my Powershell Script modules. The current ...
X Description: Summary of the new feature/enhancement As a Powershell Developer, I want the highest performance and least friction method to add secrets vault support to my Powershell Script modules. The current ...
Opengraph URL: https://github.com/PowerShell/Modules/issues/42
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[SecretsManagement] [Design] Improved Script Extension Provider Model","articleBody":"# Summary of the new feature/enhancement\r\n\r\nAs a Powershell Developer, I want the highest performance and least friction method to add secrets vault support to my **Powershell Script** modules. \r\n\r\nThe current binary module implementation seems fine, but the PS script method could be better. The existing method of importing a \"sub module\" has lots of limitations around performance and debugging\r\nhttps://twitter.com/Jaykul/status/1228098209999925248\r\nhttps://twitter.com/JeremyMcgee73/status/1228135629361270784\r\n\r\nThere are some other more standard \"tried-and-true\" methods to consider\r\n\r\n# Proposed technical implementation details (optional)\r\n\r\n## Powershell Class (DSC Style)\r\nPowershell Classes were purpose-built for this very purpose with DSC, the same concepts can be leveraged for SecretsManagement\r\nhttps://docs.microsoft.com/en-us/powershell/scripting/dsc/resources/authoringresourceclass?view=powershell-7\r\n\r\n## Module Private Functions\r\nSome well-defined non-exported functions such as Get-MicrosoftSecretsManagementSecret can be defined within a module scope, and SecretsManagement can call those functions within the module scope. This has the advantage of the function being able to use any state that the module currently has, such as existing connections to applications, so that in several cases **the authentication aspect can be abstracted out and secret keys don't have to be kept in the metastore which will help speed the cross-platform implementation**\r\n\r\nThe reason to not export them is to both avoid clobber, and cluttering the command space with e.g. Get-AzureKeyVaultMicrosoftSecretsManagementSecret. The implementation could also allow the provider to specify what functions to use for each purpose, but that makes implementation more difficult IMHO. @jaykul to weigh in.\r\n\r\n\r\n## Processing Order\r\n\r\nAll 3 methods can be enabled, and developers can choose their favorite, priority discovery order should be:\r\n1. Class\r\n2. Private Module functions\r\n3. Nested Module","author":{"url":"https://github.com/JustinGrote","@type":"Person","name":"JustinGrote"},"datePublished":"2020-02-14T15:38:13Z","url":"https://github.com/PowerShell/Modules/issues/42"}
| 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:c11fae0e-e88c-5ba1-1b29-fee69a527e18 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 94F6:45B4F:2AA5D6:38F9C6:6AFD35E3 |
| html-safe-nonce | 3743caf13df879f56fd9b9b39a150e5b12f0c1a6356d54773cd007595f11d816 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NEY2OjQ1QjRGOjJBQTVENjozOEY5QzY6NkFGRDM1RTMiLCJ2aXNpdG9yX2lkIjoiMTAzNTczNjQ5MjM5MTI3NTIzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | e5d59251977c45c7003ef92ffe6399f55c3df9fce89c37c389cd893f3d311cd1 |
| hovercard-subject-tag | issue:565401914 |
| 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/42/issue_layout |
| twitter:image | https://opengraph.githubassets.com/109ec66e9bdae16159a50977218e1b5c4b74a1cdaf2c2fd666f99bab6c0e41ab/PowerShell/Modules/issues/42 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/109ec66e9bdae16159a50977218e1b5c4b74a1cdaf2c2fd666f99bab6c0e41ab/PowerShell/Modules/issues/42 |
| og:image:alt | Summary of the new feature/enhancement As a Powershell Developer, I want the highest performance and least friction method to add secrets vault support to my Powershell Script modules. The current ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | JustinGrote |
| hostname | github.com |
| expected-hostname | github.com |
| None | 065128366c233a9d57ff68ab6c96e25b99dd1b0ab70d23b70873d3dd6b5e4f19 |
| 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 | 941021edf0c2ec58298f4a2c8f27ae507d129c92 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width