> For the complete documentation index, see [llms.txt](https://docs.ostara.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ostara.dev/troubleshooting/environment-variables-system-properties-app-properties-are-partially-or-fully-masked.md).

# Environment variables / System properties / App properties are partially or fully masked

In some cases, the values we get back from Actuator are intentionally masked and get sent back as **\*\*\*\*\*\*.** This is caused by configuration on the service end.

&#x20;

<figure><img src="https://141808391-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FQIUN58YadwFHHtojkuQ5%2Fuploads%2FXKH9gWnMZNi0Ztey7eY2%2Fimage.png?alt=media&amp;token=8bd1034b-204a-4968-92c3-9b3a8e28b7cd" alt=""><figcaption><p>Example of a heavily redacted System Properties</p></figcaption></figure>

### Spring Boot 2.X

Spring Boot 2.X masks keys with the following patterns by default:

* `password`
* `secret`
* `key`
* `token`
* `.*credentials.*`
* `vcap_services`

These patterns can be set using the following properties ([Reference](https://docs.spring.io/spring-boot/docs/1.5.22.RELEASE/reference/html/howto-actuator.html#howto-sanitize-sensible-values)):

* `endpoints.configprops.keys-to-sanitize=comma,delimited,list`&#x20;
* `endpoints.env.keys-to-sanitize=comma,delimited,list`

### Spring Boot 3.X

In Spring Boot 3.X, all values are masked by default. If this behavior is not desired, it can be controlled using by setting the following properties to either `always`  (Not recommended) or `when-authorized` and setting Ostara to authenticate with your application ([Reference](https://docs.spring.io/spring-boot/docs/current/reference/html/application-properties.html#appendix.application-properties)):

* `management.endpoint.configprops.show-values={always|when-authorized|never}`
* `management.endpoint.env.show-values={always|when-authorized|never}`&#x20;


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.ostara.dev/troubleshooting/environment-variables-system-properties-app-properties-are-partially-or-fully-masked.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
