Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

removed leading and trailing bracket to fix merging of reference.conf #781

Merged
merged 1 commit into from
Jan 1, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
127 changes: 62 additions & 65 deletions aws-auth/src/main/resources/reference.conf
Original file line number Diff line number Diff line change
@@ -1,79 +1,76 @@
{

monix-aws: {
monix-aws: {

credentials {
credentials {

// Required - Specifies the aws credentials provider
// Posible values: [anonymous, default, environment, instance, system, profile, static]
provider: "default"
// Required - Specifies the aws credentials provider
// Posible values: [anonymous, default, environment, instance, system, profile, static]
provider: "default"

// Optional - settings that only applies when `provider` is set to 'static'.
//
// If that's the case, `acces-key-id` and `secret-access-key` to create basic credentials:
// `software.amazon.awssdk.auth.credentials.AwsBasicCredentials`
//
// On the other hand, if the optional value `secret-access-key` is defined, it will use session credentials:
// `software.amazon.awssdk.auth.credentials.SessionStaticCredentialsProvider`
// [[https://docs.aws.amazon.com/AWSJavaSDK/latest/javadoc/com/amazonaws/auth/AWSSessionCredentials.html]]
//
# static {
#
# // Required - within static settings.
# access-key-id: ""
#
# // Required - within static settings.
# secret-access-key: ""
#
# // Optional - when defined, will create `SessionStaticCredentialsProvider`
# session-token: ""
#
# }
}
// Optional - settings that only applies when `provider` is set to 'static'.
//
// If that's the case, `acces-key-id` and `secret-access-key` to create basic credentials:
// `software.amazon.awssdk.auth.credentials.AwsBasicCredentials`
//
// On the other hand, if the optional value `secret-access-key` is defined, it will use session credentials:
// `software.amazon.awssdk.auth.credentials.SessionStaticCredentialsProvider`
// [[https://docs.aws.amazon.com/AWSJavaSDK/latest/javadoc/com/amazonaws/auth/AWSSessionCredentials.html]]
//
# static {
#
# // Required - within static settings.
# access-key-id: ""
#
# // Required - within static settings.
# secret-access-key: ""
#
# // Optional - when defined, will create `SessionStaticCredentialsProvider`
# session-token: ""
#
# }
}

// Required - Indicates the AWS region, should be in lowercase and use hyphens.
// Just like using `software.amazon.awssdk.regions.Region.of(_)`
// Examples: [ap-south-1, us-gov-east-1, af-south-1, eu-west-2, aws-global]
region: "eu-west-1"
// Required - Indicates the AWS region, should be in lowercase and use hyphens.
// Just like using `software.amazon.awssdk.regions.Region.of(_)`
// Examples: [ap-south-1, us-gov-east-1, af-south-1, eu-west-2, aws-global]
region: "eu-west-1"

// Optional - string to overrides endpoint url
# endpoint: "localhost:4566"
// Optional - string to overrides endpoint url
# endpoint: "localhost:4566"

// Optional - settings for the underlying async http client
# http-client: {
# max-concurrency: 10
# max-pending-connection-acquires: 1000
# connection-acquisition-timeout: 2 minutes
# connection-time-to-live: 1 minute
# use-idle-connection-reaper: false
# read-timeout: 100 seconds
# write-timeout: 100 seconds
# }
// Optional - settings for the underlying async http client
# http-client: {
# max-concurrency: 10
# max-pending-connection-acquires: 1000
# connection-acquisition-timeout: 2 minutes
# connection-time-to-live: 1 minute
# use-idle-connection-reaper: false
# read-timeout: 100 seconds
# write-timeout: 100 seconds
# }

}
}

// Camel case fallback
monixAws: {
credentials {
provider: "default"
}
region: "eu-west-1"
// Camel case fallback
monixAws: {
credentials {
provider: "default"
}
region: "eu-west-1"
}

// Snake case fallback
monix_aws: {
credentials {
provider: "default"
}
region: "eu-west-1"
// Snake case fallback
monix_aws: {
credentials {
provider: "default"
}
region: "eu-west-1"
}

// Pascal case fallback
MonixAws: {
credentials {
provider: "default"
}
region: "eu-west-1"
// Pascal case fallback
MonixAws: {
credentials {
provider: "default"
}

}
region: "eu-west-1"
}