Skip to content

Commit

Permalink
Remove aws credential properties from application.properties due to
Browse files Browse the repository at this point in the history
  • Loading branch information
gortazar committed Dec 29, 2016
1 parent fa156e2 commit cf80f86
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,11 @@ spring.jpa.hibernate.ddl-auto=create
cloud.aws.region.static=eu-west-1

# Credentials (unnecessary when running in an EC2 instance with a role having enough permissions for S3 and RDS)
cloud.aws.credentials.accessKey="key"
cloud.aws.credentials.secretKey="secret"
#cloud.aws.credentials.accessKey="key"
#cloud.aws.credentials.secretKey="secret"

# In AWS use this instead, and create an EC2 role
#instanceProfile=true

# RDS access
cloud.aws.rds.dbInstanceIdentifier=springaws
Expand Down

0 comments on commit cf80f86

Please sign in to comment.