A fen-boardwalk ticket API needs StripeLikeKey from Key Vault at startup. Which SDK approach should the developer use?
Select an answer to reveal the explanation.
Short Explanation
Startup needs a secret string? SecretClient.GetSecret with a proper credential. Do not ship a .env of production keys on the worker disk, and do not pretend Insights is your vault.
Full Explanation
The Azure Key Vault Secrets client (for example SecretClient.GetSecret) retrieves secret values using an Azure credential such as a managed identity. Cryptographic KeyClient APIs operate on keys, not as a substitute for GetSecret. Packaging plaintext secrets with the app or scraping telemetry stores is not the supported pattern.