Skip to content

Commit

Permalink
Introduce dummy secrets (#3)
Browse files Browse the repository at this point in the history
* Introduce dummy secrets
  • Loading branch information
jaliyaudagedara authored Jun 3, 2022
1 parent ab9b9d8 commit 830191b
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 2 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
# github-advanced-security
# github-advanced-security-demo

Simple ASP.NET Core Minimal API project to Demo GitHub Advanced Security Features
8 changes: 7 additions & 1 deletion Todo.Api/appsettings.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@
},
"AllowedHosts": "*",
"ConnectionStrings": {
"DefaultConnection": "Data Source=RAVANA-TPP15\\MSSQLSERVER2019;Initial Catalog=EfCore6;Integrated Security=True;MultipleActiveResultSets=true"
"DefaultConnection": "Server=tcp:sql-demo-001.database.windows.net,1433;Initial Catalog=sqldb-todos;Persist Security Info=False;User ID=dbadmin;Password=PASSword;MultipleActiveResultSets=False;Encrypt=True;TrustServerCertificate=False;Connection Timeout=30;"
},
"Redis": {
"ConnectionString": "redis-demo-001.redis.cache.windows.net:6380,password=qOdlKaQPND7J9bWtGbb7A4A4jgWcOI2WW6Dx3XR8Zvc=,ssl=True,abortConnect=False"
},
"Storage": {
"ConnectionString": "DefaultEndpointsProtocol=https;AccountName=stdemo001;AccountKey=VMUKkpvuDXCeskR2tvNejnrQmnpE61EjVganzXrepQMTd9Kc3s3WCC6L63yZ+wH4EspB5XA+TB7mKmwF2UscUA==;EndpointSuffix=core.windows.net;"
}
}
7 changes: 7 additions & 0 deletions Todo.sln
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,13 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "workflows", "workflows", "{
.github\workflows\codeql-analysis.yml = .github\workflows\codeql-analysis.yml
EndProjectSection
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{A54EAC03-84F9-4636-8405-DCEBD4C98106}"
ProjectSection(SolutionItems) = preProject
LICENSE.txt = LICENSE.txt
README.md = README.md
SECURITY.md = SECURITY.md
EndProjectSection
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand Down

0 comments on commit 830191b

Please sign in to comment.