summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIvar Løvlie <38570165+ivarlovlie@users.noreply.github.com>2021-03-31 23:52:17 +0200
committerGitHub <noreply@github.com>2021-03-31 23:52:17 +0200
commit8379ccc31d788ec6e27a750a2705d721f835e64b (patch)
treefa2fc60f613c72480b4ba6fd5a6c1432779aea1f
parente94bc3edbb44f584f55c87261d44a294db26bfc5 (diff)
downloaddotnet-vipps-ecommerce-8379ccc31d788ec6e27a750a2705d721f835e64b.tar.xz
dotnet-vipps-ecommerce-8379ccc31d788ec6e27a750a2705d721f835e64b.zip
Update README.md
-rw-r--r--README.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/README.md b/README.md
index 4a7819b..59610a9 100644
--- a/README.md
+++ b/README.md
@@ -30,6 +30,9 @@ services.AddVippsEcommerceService(o => {
With the above example, the service will look for configuration values in the current environment using names specified in [VippsConfigurationKeyNames.cs](https://github.com/ivarlovlie/IOL.VippsEcommerce/blob/master/src/IOL.VippsEcommerce/Models/VippsConfigurationKeyNames.cs), then in the configuration object. The environment variable name for a given property is also specified in it's XML-documentation.
+> [Environment.GetEnvironmentVariable](https://docs.microsoft.com/en-us/dotnet/api/system.environment.getenvironmentvariable?view=net-5.0) is used to retrieve environement variables, that means that user-secrets and anything else than process-spesific variables (`VARIABLE=value dotnet YourBinary.dll`) does not register on Unix systems.
+
+
## Caching
The service can cache the credentials for api-access in a file with optional AES encryption, example: