- Set up and add your environment variables to Infisical Cloud
- Install the CLI
Initialize Infisical
In order for Infisical to know which secrets to fetch, you’ll need to first initialize Infisical at the root of your project.Start your application with Maven wrapper
To pass in Infisical secrets into your application, we will utilize the Infisical CLI to inject the secrets into the Maven wrapper executable, which is used to launch your application. The Maven wrapper executable should already be present in the root directory of your project.Accessing injected secrets
example.java