Skip to content
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

How to read and set encrypted properties? #23

Closed
feliceg77 opened this issue Mar 25, 2019 · 2 comments
Closed

How to read and set encrypted properties? #23

feliceg77 opened this issue Mar 25, 2019 · 2 comments
Labels

Comments

@feliceg77
Copy link

No description provided.

@feliceg77
Copy link
Author

I want to encrypt entry in application.properties

@stevespringett
Copy link
Owner

If you're referring to ConfigProperty.class, property values can be encrypted by specifying PropertyType.ENCRYPTEDSTRING as the property type. Use DataEncryption.class for the actual encryption/decryption. At the moment, there isn't a class that does this for you automatically. However, Dependency-Track, an application built on top of Alpine, does have a JAX-RS resource that does implement this logic.

If you're referring to properties in application.properties. Encryption/decryption is currently not supported here but likely will be in a future release.

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

No branches or pull requests

2 participants