Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions guides/services/using-services.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand All @@ -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`.

Expand Down
Loading