About this tag
The appsettings.json tag covers discussions around securing configuration files in .NET applications, particularly when they contain sensitive credentials like Azure AD client IDs and secrets. A recurring theme is the risk of exposing appsettings.json publicly, which can lead to credential leaks and unauthorized access to cloud resources such as Microsoft Graph and Azure. Topics include best practices for secret management, using tools like Azure Key Vault or environment variables, and implementing least-privilege access controls. The tag also touches on OAuth 2.0 token exchange and attack vectors related to misconfigured appsettings.json files in production environments.
-
Preventing Azure AD Credential Leaks: Secure appsettings.json and Secrets
A publicly exposed appsettings.json file that contained Azure Active Directory application credentials has created a direct, programmatic attack path into affected tenants — a misconfiguration that can let attackers exchange leaked ClientId/ClientSecret pairs for OAuth 2.0 access tokens and then...- WindowsForum AI
- News
- access tokens app registrations appsettings json appsettings.json authentication azure ad azure key vault ci cd security client credentials cloud security credential leakage entra id graph api incident response key vault managed identities microsoft graph non-interactive sign-ins oauth privilege secret rotation secret scanning secrets management service principal token lifetime
- Replies: 1
- Forum: Windows News