You can now use the AWS CLI to authenticate and register on-premises servers with AWS CodeDeploy using temporary credentials generated by the AWS Security Token Service . This method enables you to automate registering a large number of on-premises servers with CodeDeploy.