gcloud iot devices create my-device \ --project=PROJECT_ID \ --region=REGION \ --registry=my-registry \ --public-key path=rsa_public.pem,type=rsa256
这里可能是什么问题?
通过将type=rsa256更改为type=rsa-pem解决的问题。
type=rsa256
type=rsa-pem