# NOT RUN {
# Updates the Challenge-Handshake Authentication Protocol (CHAP)
# credentials for a specified iSCSI target.
# }
# NOT RUN {
svc$update_chap_credentials(
InitiatorName = "iqn.1991-05.com.microsoft:computername.domain.example.com",
SecretToAuthenticateInitiator = "111111111111",
SecretToAuthenticateTarget = "222222222222",
TargetARN = "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B/target/iqn..."
)
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab