From 72927f13f8edc9ead79585985c33a3dcdb40705b Mon Sep 17 00:00:00 2001 From: I548646 Date: Mon, 29 Dec 2025 15:53:28 +0100 Subject: [PATCH] fix: add learn-more reference to cds.env docs in destination config section --- guides/services/using-services.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/guides/services/using-services.md b/guides/services/using-services.md index 8e8e03897..293ddff64 100644 --- a/guides/services/using-services.md +++ b/guides/services/using-services.md @@ -1065,11 +1065,9 @@ This is an example of a destination using basic authentication: } ``` -[Supported destination properties.](#destination-properties){.learn-more} +[Learn more about providing project configuration values.](./../../node.js/cds-env#project-specific-configurations){.learn-more} [See all the supported destination properties.](#destination-properties){.learn-more} -::: warning -You shouldn't put any sensitive information here. -::: +::: warning Warning: You should not put any sensitive information here! Instead, set the properties in the bootstrap code of your CAP application: @@ -1082,6 +1080,7 @@ if (cds.env.requires?.credentials?.authentication === "BasicAuthentication") { cds.env.requires.credentials.password = credentials.password; } ``` +::: You might also want to set some values in the application deployment. This can be done using env variables. For this example, the env variable for the URL would be `cds_requires_REVIEWS_credentials_destination_url`.