spring-cloud / spring-cloud/spring-cloud-config

Update spring.io documentation regarding key decryption

Open
#1,491 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

documentation
Dominant language
Java
Stars
2k
Forks
1.3k
Avg merge
2d 59m
Merged PRs (30d)
16

Description

Please update documentation https://cloud.spring.io/spring-cloud-config/reference/html/
Regarding key decryption, the RSA example does not work, because:

  1. the config changed from encrypt.keyStore to encryption.key-store,
  2. there are some required RsaProperties to run.
    3.indentation in the documentation might suggest it should be with a prefix spring.cloud.config.server (i.e. spring.cloud.config.server.encrypt.key-store) where it actually is top level encryption.key-store parameter, its especially confusing since flag to enable/disable is "spring.cloud.config.server.encrypt.enabled"

To ease up on tracking, its about the class org.springframework.cloud.config.server.config.EncryptionAutoConfiguration

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the RSA example in the linked Spring Cloud Config reference documentation and compare it with org.springframework.cloud.config.server.config.EncryptionAutoConfiguration. Verify the current property names, required RsaProperties, and indentation or prefixes; done means the example accurately reflects the configuration needed to run key decryption.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, spring, spring-boot
Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.