Overview
Replace the static LINKEDIN_ACCESS_TOKEN, LINKEDIN_CLIENT_ID, and LINKEDIN_CLIENT_SECRET App Settings with Azure Key Vault References, so the Function App always reads the latest secret version without restarts.
Depends on: #54
Tasks
Acceptance Criteria
Notes
- Use unversioned Key Vault References (without
SecretVersion) so the app always resolves the latest version automatically after each token refresh
InSender requires zero code changes — the runtime resolves the reference transparently
References
Overview
Replace the static
LINKEDIN_ACCESS_TOKEN,LINKEDIN_CLIENT_ID, andLINKEDIN_CLIENT_SECRETApp Settings with Azure Key Vault References, so the Function App always reads the latest secret version without restarts.Depends on: #54
Tasks
LINKEDIN_ACCESS_TOKEN→@Microsoft.KeyVault(VaultName=xposter-kv;SecretName=LinkedInAccessToken)LINKEDIN_CLIENT_ID→@Microsoft.KeyVault(VaultName=xposter-kv;SecretName=LinkedInClientId)LINKEDIN_CLIENT_SECRET→@Microsoft.KeyVault(VaultName=xposter-kv;SecretName=LinkedInClientSecret)KEYVAULT_URIApp Setting:https://xposter-kv.vault.azure.net/InSenderstill works correctly after migration (no code change expected)src/local.settings.json.examplewith new variable structure and Key Vault reference formatdocs/configuration.mddocumenting Key Vault reference syntaxAcceptance Criteria
Notes
SecretVersion) so the app always resolves the latest version automatically after each token refreshInSenderrequires zero code changes — the runtime resolves the reference transparentlyReferences