aws iot create-keys-and-certificate
Creates a 2048-bit RSA key pair and issues an X.509 certificate using the issued public key. AWS CLI reference
1 option Its page in the AWS CLI reference
Options
--set-as-activeSpecifies whether the certificate is active.