AWS Configuration
Following are the properties to be updated in install-aws.sh or install-aws-mssql.sh.
| Property | Default Value | Description |
|---|---|---|
| Environment Setup | ||
| AWS_ACCESS_KEY_ID | Developer's credentials | AWS Account Access Id |
| AWS_SECRET_ACCESS_KEY | Developer's credentials | AWS Account Secret Key |
| AWS_REGION | Developer's credentials | AWS Account Region |
| DEPLOYMENT_ENVIRONMENT |
If multiple instances of MS are to be deployed in the same region, then set this property set [Should use only lower case letters in-order to comply with AWS resources naming convention] Example: If the property is set as 'dev', the bucket name will be 'dev-ms-consent-package'. |
|
| aws_account_id | Developer's credentials | |
| S3_BUCKET_ID | ms-consent | S3 bucket is an object storage service. The application JAR file will be copied into the S3 bucket. |
| CLOUDWATCH | ms-consent-cloudwatchinvoke | Ping services will be created for each lambda function with the provided name. |
| PDP Configuration | ||
| pdpConfig | classpath:xacml/pdp-config.xml |
Mapping the PDP-callback configuration file available in the classpath. XACML Config file path needs to be set in the property. |
| pdpResourceRype | API |
The value that is set in the XAML config file needs to be provided. Resource type is used to identify the policy set in the XAML config. |
| pdpResourceManager | CONSENT |
The value that is set in the XACML config file needs to be provided. Resource Manager is used to identify the policy set in the XAML config. |
| Database Configurations | ||
| DATABASE_NAME | consent | Name of the database |
| DBUSERNAME | sa | database username |
| DBPASSWORD | rootroot | database password |
| DBPORT | 1433 | port number of the database |
| DB_CONNECTION_URL | jdbc:sqlserver://db-service:1433;databaseName=ms_consent | URL to connect to the MSSQL DB instance. |
In this topic