AWS Key rotation exception - com.glide.script.fencing.MethodNotAllowedException: Function setDisplayValue is not allowed in scope sn_aws_integIssue <!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: #000000; } span { font-size: 12pt; font-family: Lato; color: #000000; } h2 { font-size: 24pt; font-family: Lato; color: black; } h3 { font-size: 18pt; font-family: Lato; color: black; } h4 { font-size: 14pt; font-family: Lato; color: black; } a { font-size: 12pt; font-family: Lato; color: #00718F; } a:hover { font-size: 12pt; color: #024F69; } a:target { font-size: 12pt; color: #032D42; } a:visited { font-size: 12pt; color: #00718f; } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } AWS key rotation job is getting failed with the below error 2025-09-12 03:50:57 (393) worker.2 worker.2 txid=c94b66bb3b7b SSI_874b0dd0532921107081ddeeff7b1224 STATEMENT BATCHER DEBUG: Committing batch of 32025-09-12 03:50:57 (393) worker.2 worker.2 txid=c94b66bb3b7b SSI_874b0dd0532921107081ddeeff7b1224 STATEMENT BATCHER DEBUG: Committing 1/1 [BatchStatement: 3 statement(s)]2025-09-12 03:50:57 (444) worker.2 worker.2 txid=c94b66bb3b7b SSI_874b0dd0532921107081ddeeff7b1224 SEVERE *** ERROR *** sn_aws_integ (SgAwsKeyRotation): Exception occurred while rotating keys for SG-AWS-CredentialAlias-Org, Error Message: com.glide.script.fencing.MethodNotAllowedException: Function setDisplayValue is not allowed in scope sn_aws_integ2025-09-12 03:50:57 (451) worker.2 worker.2 txid=c94b66bb3b7b JobExecutor Completed: System Trigger-SgAwsKeyRotationJob in 0:00:00.924, next occurrence is null, id=cd4b6ef793b7a61491ffbccdfaba1006 tr=0 pr=100 re=0 po=1757674256 la=0.515 Release<!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: #000000; } span { font-size: 12pt; font-family: Lato; color: #000000; } h2 { font-size: 24pt; font-family: Lato; color: black; } h3 { font-size: 18pt; font-family: Lato; color: black; } h4 { font-size: 14pt; font-family: Lato; color: black; } a { font-size: 12pt; font-family: Lato; color: #00718F; } a:hover { font-size: 12pt; color: #024F69; } a:target { font-size: 12pt; color: #032D42; } a:visited { font-size: 12pt; color: #00718f; } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } Issue was observed in SGC for AWS 2.9.1 version. Resolution<!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: #000000; } span { font-size: 12pt; font-family: Lato; color: #000000; } h2 { font-size: 24pt; font-family: Lato; color: black; } h3 { font-size: 18pt; font-family: Lato; color: black; } h4 { font-size: 14pt; font-family: Lato; color: black; } a { font-size: 12pt; font-family: Lato; color: #00718F; } a:hover { font-size: 12pt; color: #024F69; } a:target { font-size: 12pt; color: #032D42; } a:visited { font-size: 12pt; color: #00718f; } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } To address the issue, please consider following the steps outlined below. Please ensure that the `aws_rotate_keys` property is set to `true` in the connection properties? I have attached an image for reference.Take a backup of script include - "SgAwsKeyRotation", Update the script include - "SgAwsKeyRotation" (sysid - 874b0dd0532921107081ddeeff7b1224) line number 113 with the provided code below. *************************************** aws_credentials.secret_key.setDisplayValue(responsebody.CreateAccessKeyResponse.CreateAccessKeyResult.AccessKey.SecretAccessKey); ***************************************