Skip to content

Commit

Permalink
Closes #107 - removed RetrieveAwsSecret default value
Browse files Browse the repository at this point in the history
  • Loading branch information
TebaleloS committed Feb 1, 2024
1 parent 9628b50 commit 80f2aac
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import software.amazon.awssdk.services.secretsmanager.model.GetSecretValueReques
/**
* Class implement the functionality of retrieving secret keys from aws secret manger service
*/
class RetrieveAwsSecret (profileCredentials: String = "default") {
class RetrieveAwsSecret (profileCredentials: String) {
val secretsManagerClient: SecretsManagerClient = SecretsManagerClient.builder()
.region(Region.AF_SOUTH_1)
.credentialsProvider(ProfileCredentialsProvider.create(profileCredentials))
Expand Down

0 comments on commit 80f2aac

Please sign in to comment.