Skip to content

Commit 659b730

Browse files
committed
fix: GCP_SERVICE_KEY 주입
1 parent a37fe7a commit 659b730

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

user-service/src/main/java/club/gach_dong/config/GcpStorageConfig.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ public class GcpStorageConfig {
2222
@Value("${spring.cloud.gcp.storage.project-id}")
2323
private String projectId;
2424

25+
@Value("${GCP_SERVICE_KEY}")
26+
private String credentialsJson;
27+
2528
@Bean
2629
public Storage gcpStorage() throws IOException {
2730
GoogleCredentials credentials = GoogleCredentials.fromStream(

0 commit comments

Comments
 (0)