Skip to content

Fix wrong property reference to keys-to-sanitize in Javadoc #21906

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from
Closed

Conversation

lltx
Copy link
Contributor

@lltx lltx commented Jun 13, 2020

When I use the /actuator/configprops endpoint to get the @ConfigurationProperties bean details.

I want to show the sensitive configuration such as password. Since the official website documentation does not explain the detailed usage of configprops endpoint, reading the source code notes found that it is incorrect and cannot work


management:
  endpoint:
    configprops:
      keys-to-sanitize:
        - secret

@pivotal-issuemaster
Copy link

@lltx Please sign the Contributor License Agreement!

Click here to manually synchronize the status of this Pull Request.

See the FAQ for frequently asked questions.

@pivotal-issuemaster
Copy link

@lltx Thank you for signing the Contributor License Agreement!

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Jun 13, 2020
@snicoll snicoll added type: documentation A documentation update and removed status: waiting-for-triage An issue we've not yet triaged labels Jun 14, 2020
@snicoll snicoll modified the milestones: 2.1.x, 2.2.x Jun 14, 2020
@snicoll snicoll changed the title fix: Wrong class comment endpoints s Fix wrong property reference to keys-to-sanitize in Javadoc Jun 14, 2020
@snicoll snicoll self-assigned this Jun 15, 2020
@snicoll snicoll modified the milestones: 2.2.x, 2.2.9 Jun 15, 2020
snicoll added a commit that referenced this pull request Jun 15, 2020
@snicoll snicoll closed this in 04639d3 Jun 15, 2020
@snicoll
Copy link
Member

snicoll commented Jun 15, 2020

@lltx good catch and thank you for making your first contribution to Spring Boot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: documentation A documentation update
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants