feat(aws-iam-rotation): address PR comments

This commit is contained in:
carlosmonastyrski
2025-04-25 11:01:35 -03:00
parent 5819b8c576
commit 57c96abe03
10 changed files with 111 additions and 64 deletions
@@ -25,7 +25,7 @@ const AwsIamUserSecretRotationParametersSchema = z.object({
.trim()
.min(1, "Client Name Required")
.describe(SecretRotations.PARAMETERS.AWS_IAM_USER_SECRET.userName),
region: z.nativeEnum(AWSRegion).describe(SecretRotations.PARAMETERS.AWS_IAM_USER_SECRET.region)
region: z.nativeEnum(AWSRegion).describe(SecretRotations.PARAMETERS.AWS_IAM_USER_SECRET.region).optional()
});
const AwsIamUserSecretRotationSecretsMappingSchema = z.object({
+1 -1
View File
@@ -2018,7 +2018,7 @@ export const SecretRotations = {
},
AWS_IAM_USER_SECRET: {
userName: "The name of the client to rotate credentials for.",
region: "The AWS region to rotate credentials for."
region: "The AWS region the client is present in."
}
},
SECRETS_MAPPING: {