Skip to content

Commit cf80f86

Browse files
committed
Remove aws credential properties from application.properties due to
http://stackoverflow.com/a/30577192
1 parent fa156e2 commit cf80f86

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/main/resources/application.properties

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,11 @@ spring.jpa.hibernate.ddl-auto=create
77
cloud.aws.region.static=eu-west-1
88

99
# Credentials (unnecessary when running in an EC2 instance with a role having enough permissions for S3 and RDS)
10-
cloud.aws.credentials.accessKey="key"
11-
cloud.aws.credentials.secretKey="secret"
10+
#cloud.aws.credentials.accessKey="key"
11+
#cloud.aws.credentials.secretKey="secret"
12+
13+
# In AWS use this instead, and create an EC2 role
14+
#instanceProfile=true
1215

1316
# RDS access
1417
cloud.aws.rds.dbInstanceIdentifier=springaws

0 commit comments

Comments
 (0)