You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+45Lines changed: 45 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -36,6 +36,7 @@ Vault, and more.
36
36
-**Provider Order Configuration**: Specify the order in which providers are executed for secret retrieval using
37
37
configuration properties
38
38
-**Type Conversion for Secrets**: Retrieve secrets by key and origin, converting the value to the specified type for seamless integration with your application.
39
+
-**@SecretValue Annotation**: Annotate fields to automatically inject secrets from the configured providers
39
40
40
41
## Installation
41
42
@@ -142,6 +143,50 @@ public class SecretsProviderCustom extends AbstractSecretsProvider {
142
143
143
144
```
144
145
146
+
### Using `@SecretValue` Annotation
147
+
148
+
The `@SecretValue` annotation allows you to inject secret values directly into your Spring beans. It simplifies the process of retrieving secrets by automatically resolving and injecting them from the configured secret providers.
0 commit comments