Skip to content

Latest commit

 

History

History
35 lines (23 loc) · 937 Bytes

AWS_CONFIG.md

File metadata and controls

35 lines (23 loc) · 937 Bytes

AWS Configurations

Set up AWS Credentials

Set credentials in the AWS credentials profile file on your local system, located at:

  • ~/.aws/credentials on Linux, macOS, or Unix
  • C:\Users\USERNAME\.aws\credentials on Windows

This file should contain lines in the following format:

[default]
aws_access_key_id = your_access_key_id
aws_secret_access_key = your_secret_access_key

Substitute your own AWS credentials values for the values your_access_key_id and your_secret_access_key.

Set up AWS S3 Bucket properties

Set the AWS S3 bucket properties in application-properties files application-dev.properties and/or application-default.properties located at /src/main/resources/

Set up the bucket name:

application.aws.bucketName=py.org.fundacionparaguaya.psp.images

Set up the bucket region:

application.aws.strRegion=EU_WEST_2

for example: EU_WEST_2 (EU-London region)