Is it possible to modify the JITP Policy for a registered CA?

0

Once the CA is registered, I can't see how to change the JITP policy. The only way I found was to remove the CA and register it again with the new policy, which can be inconvenient.

Is there any way to update the JITP policy?

Txs!

질문됨 일 년 전258회 조회
2개 답변
1

Another option would be to use a policy name in your provisioning template. With a policy name you can reference an existing policy which you can change outside of the provisioning template.

Cheers,
Philipp

AWS
전문가
답변함 일 년 전
  • Thanks, Philipp! This sound quite more practical. I checked the man page and I only see reference to the policy names referring to the security policy inside the JITP policy, but not to the full JITP policy itself? Can you point me to some instructions on how to specify the policy name when registering a CA? Cheers!

  • Hi pfuentes69, please take a look at the link I posted and search for PolicyName. To use a named policy you create your IoT policy before you use it in the template. Assuming you named the policy my_aws_iot_policy your template entry would look similar to:

    "policy" : {
                "Type" : "AWS::IoT::Policy",
                "Properties" : {
                    "PolicyName" : "my_aws_iot_policy"
                }
            }
    
0

I think I found an answer... aws iot update-ca-certificate --certificate-id $CA_CERTIFICATE_ID \ --no-remove-auto-registration \ --new-auto-registration-status ENABLE \ --registration-config "<NEW_POLICY>"

As explained here: https://catalog.us-east-1.prod.workshops.aws/workshops/7c2b04e7-8051-4c71-bc8b-6d2d7ce32727/en-US/provisioning-options/just-in-time-provisioning

답변함 일 년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠