-
Notifications
You must be signed in to change notification settings - Fork 68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Deploy images with exact version (not only latest/build number) #75
Conversation
src/decrypt-api/Startup.cs
Outdated
@@ -80,6 +80,7 @@ public Startup(IHostingEnvironment env) | |||
Configuration.GetValue<int>("KeyManagement:KeyVault:MaximumDataLength")); | |||
case "AESKey": | |||
var key = Configuration.GetValue<string>("KeyManagement:AES:Key"); | |||
Console.WriteLine($"AES key used: {key}"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why you don't use the logger?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is called before the logger is initialized
Configuration = builder.Build(); | ||
|
||
var version = Assembly.GetExecutingAssembly().GetName().Version.ToString(); | ||
Console.WriteLine($"Kamus Encryptor API {version} starting"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why you don't use the logger?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same as above...
src/decrypt-api/Startup.cs
Outdated
@@ -80,6 +80,7 @@ public Startup(IHostingEnvironment env) | |||
Configuration.GetValue<int>("KeyManagement:KeyVault:MaximumDataLength")); | |||
case "AESKey": | |||
var key = Configuration.GetValue<string>("KeyManagement:AES:Key"); | |||
Console.WriteLine($"AES key used: {key}"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Console.WriteLine($"AES key used: {key}"); |
close #74