Created
April 4, 2020 11:04
-
-
Save ramesh-lingappan/f330011e2b14463803d351797d7456fa to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.rameshl.demo.secretmanager; | |
import com.rameshl.demo.secretmanager.config.AppSecrets; | |
import lombok.RequiredArgsConstructor; | |
import org.springframework.web.bind.annotation.GetMapping; | |
import org.springframework.web.bind.annotation.RestController; | |
@RestController | |
@RequiredArgsConstructor | |
public class HelloController { | |
private final AppSecrets appSecrets; | |
@GetMapping("/") | |
public String hello() { | |
return String.format("ID: %s", appSecrets.getGoogleClientId()); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment