Package: cert-uploader
Certificate UploaderUpload ACM/IAM Server Certificates and apply them to ELBsRequirementsPython 2.7 or 3.6Installationpip install cert-uploaderUsageHelp Textcert-uploader --help

cert-uploader iam --help

cert-uploader acm --helpIAMScan for certificates in the current directory and upload to IAM:cert-uploader   --scan \
                iam \
                --certificate-name cert-nameUpload a new certificate to IAM:cert-uploader   --certificate-path path/to/certificate.crt \
                --private-key-path path/to/key.pem \
                --certificate-chain-path path/to/chain.crt \
                iam \
                --certificate-name cert-nameUpload a new certificate to IAM and assign it to a load balancer:cert-uploader   --certificate-path path/to/certificate.crt \
                --private-key-path path/to/key.pem \
                --certificate-chain-path path/to/chain.crt \
                --load-balancer load-balancer-name \
                iam \
                --certificate-name cert-nameUpload a new IAM certificate at the path "/test" and assign it to a load balancer:cert-uploader   --certificate-path path/to/certificate.crt \
                --private-key-path path/to/key.pem \
                --certificate-chain-path path/to/chain.crt \
                --load-balancer load-balancer-name \
                iam \
                --certificate-name cert-name \
                --iam-path /testUpload a new IAM certificate and assign it to a load balancer on port 8443:cert-uploader   --load-balancer load-balancer-name \
                --port 8443 \
                --certificate-path path/to/certificate.crt \
                --private-key-path path/to/key.pem \
                --certificate-chain-path path/to/chain.crt \
                iam \
                --certificate-name cert-nameAssign an existing IAM certificate to a load balancer:cert-uploader   --load-balancer load-balancer-name \
                iam \
                --certificate-name cert-nameACMScan for certificates in the current directory and upload to ACM:cert-uploader   --scan \
                acm \
                --region region-nameUpload a new certificate to ACM:cert-uploader   --certificate-path path/to/certificate.crt \
                --private-key-path path/to/key.pem \
                --certificate-chain-path path/to/chain.crt \
                acmUpload a new certificate to ACM and add tags:cert-uploader   --certificate-path path/to/certificate.crt \
                --private-key-path path/to/key.pem \
                --certificate-chain-path path/to/chain.crt \
                acm \
                --tag Name=cert \
                --tag App=app1Upload a new certificate to ACM and assign it to a load balancer:cert-uploader   --certificate-path path/to/certificate.crt \
                --private-key-path path/to/key.pem \
                --certificate-chain-path path/to/chain.crt \
                --load-balancer load-balancer-name \
                acm \
                --tag Name=cert \
                --tag App=app1Upload a new ACM certificate and assign it to a load balancer on port 8443:cert-uploader   --load-balancer load-balancer-name \
                --port 8443 \
                --certificate-path path/to/certificate.crt \
                --private-key-path path/to/key.pem \
                --certificate-chain-path path/to/chain.crt \
                acmAssign an existing ACM certificate to a load balancer:cert-uploader   --load-balancer load-balancer-name \
                acm \
                --certificate-arn arn:aws:acm:REGION:ACCOUNT:certificate/CERTIFICATE_IDCredentialsProfileAWS credentials can be passed in using the--profilecommand line argument:cert-uploader   --certificate-path path/to/certificate.crt \
                --private-key-path path/to/key.pem \
                --certificate-chain-path path/to/chain.crt \
                --profile profile-name \
                acmor by setting theAWS_PROFILEenvironment variable:export AWS_PROFILE=profile-name
cert-uploader   --certificate-path path/to/certificate.crt \
                --private-key-path path/to/key.pem \
                --certificate-chain-path path/to/chain.crt \
                acmAccess KeysIf a profile is not configured, theAWS_ACCESS_KEY_ID,AWS_SECRET_ACCESS_KEY, andAWS_DEFAULT_REGIONenvironment variables can be set and used for authentication.RolesRoles can be assumed using the--rolecommand line argument:cert-uploader   --certificate-path path/to/certificate.crt \
                --private-key-path path/to/key.pem \
                --certificate-chain-path path/to/chain.crt \
                --role role-arn \
                acm