Title: Custom secretResolver should return unknown/any type? · Issue #89 · Azure/AppConfiguration-JavaScriptProvider · GitHub
Open Graph Title: Custom secretResolver should return unknown/any type? · Issue #89 · Azure/AppConfiguration-JavaScriptProvider
X Title: Custom secretResolver should return unknown/any type? · Issue #89 · Azure/AppConfiguration-JavaScriptProvider
Description: Use KeyVaultOptions.secretResolver to resolve the secret reference with customized logic, e.g. parse JSON string into an object. /** * Specifies the callback used to resolve key vault references that have no applied SecretClient. * @para...
Open Graph Description: Use KeyVaultOptions.secretResolver to resolve the secret reference with customized logic, e.g. parse JSON string into an object. /** * Specifies the callback used to resolve key vault references th...
X Description: Use KeyVaultOptions.secretResolver to resolve the secret reference with customized logic, e.g. parse JSON string into an object. /** * Specifies the callback used to resolve key vault references th...
Opengraph URL: https://github.com/Azure/AppConfiguration-JavaScriptProvider/issues/89
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Custom secretResolver should return unknown/any type?","articleBody":"Use `KeyVaultOptions.secretResolver` to resolve the secret reference with customized logic, e.g. parse JSON string into an object. \r\n```ts\r\n /**\r\n * Specifies the callback used to resolve key vault references that have no applied SecretClient.\r\n * @param keyVaultReference The Key Vault reference to resolve.\r\n * @returns The secret value.\r\n */\r\n secretResolver?: (keyVaultReference: URL) =\u003e string | Promise\u003cstring\u003e;\r\n```\r\nNote: Here I think `secretResolver` should return `known` type instead of `string`, as we allow values of the config map to be any type. \r\n\r\n\r\n_Originally posted by @Eskibear in https://github.com/Azure/AppConfiguration-JavaScriptProvider/issues/78#issuecomment-2287726906_\r\n ","author":{"url":"https://github.com/Eskibear","@type":"Person","name":"Eskibear"},"datePublished":"2024-08-14T02:44:42.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/89/AppConfiguration-JavaScriptProvider/issues/89"}
| 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:8828fc14-3b37-c957-a490-a5001a6c6364 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CDE4:27E317:237ADC:2E8A97:698D16C6 |
| html-safe-nonce | 3eb8a42df1d2ece64bcb89c0b284b7b1466a0f5ee9a009156d62165701fedb34 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDREU0OjI3RTMxNzoyMzdBREM6MkU4QTk3OjY5OEQxNkM2IiwidmlzaXRvcl9pZCI6IjM5MzQ4NDEzNTA5Mjc0ODg3MTAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 6f173a3b0d7e9029b1bfe64531efcdfcab615fd9553690f6f10bb8672ef0cace |
| hovercard-subject-tag | issue:2464777236 |
| 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/Azure/AppConfiguration-JavaScriptProvider/89/issue_layout |
| twitter:image | https://opengraph.githubassets.com/1a5e59694e9bb11e0fd10fde2f609ffe332adad20e7f4f0ebaba75cd48962509/Azure/AppConfiguration-JavaScriptProvider/issues/89 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/1a5e59694e9bb11e0fd10fde2f609ffe332adad20e7f4f0ebaba75cd48962509/Azure/AppConfiguration-JavaScriptProvider/issues/89 |
| og:image:alt | Use KeyVaultOptions.secretResolver to resolve the secret reference with customized logic, e.g. parse JSON string into an object. /** * Specifies the callback used to resolve key vault references th... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Eskibear |
| hostname | github.com |
| expected-hostname | github.com |
| None | c25395580e1e3bf82d705e0982a1b24255366088720fef945f1493d5e3e67954 |
| turbo-cache-control | no-preview |
| go-import | github.com/Azure/AppConfiguration-JavaScriptProvider git https://github.com/Azure/AppConfiguration-JavaScriptProvider.git |
| octolytics-dimension-user_id | 6844498 |
| octolytics-dimension-user_login | Azure |
| octolytics-dimension-repository_id | 688057518 |
| octolytics-dimension-repository_nwo | Azure/AppConfiguration-JavaScriptProvider |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 688057518 |
| octolytics-dimension-repository_network_root_nwo | Azure/AppConfiguration-JavaScriptProvider |
| 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 | 94219dcb9c044792ec271fd5b23c73419858bef7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width