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`.