Getting Started
Create a secret:
aws secretsmanager create-secret \
--name /secrets/database-secrets \
--secret-string "{\n \"spring.datasource.url\": \"jdbc:h2:file:./h2.db\",\n \"spring.datasource.username\": \"root\",\n \"spring.datasource.password\": \"password\"\n}"
Have the following environment variables
AWS_ACCESS_KEY_ID=XYZ
AWS_REGION=XYZ
AWS_SECRET_ACCESS_KEY=XYZ
Or if you have aws cli
it should just pickup the profile.
Reference Documentation
For further reference, please consider the following sections:
- Official Gradle documentation
- Spring Boot Gradle Plugin Reference Guide
- Create an OCI image
- Spring Data for Apache Cassandra
- Cloud Bootstrap
Guides
The following guides illustrate how to use some features concretely:
Additional Links
These additional references should also help you: