ACM - Certificate is associated to a deleted role?

0

Hi,

I have a strange issue where I cannot delete a certificate, due to being associated with an IAM role that no longer exists. Enter image description here

When attempting to search for this role, it yields no results. Enter image description here

I have verified that the account id matches my own. I'm at a loss as to where I might find this role to disassociate it from?

James
asked 13 days ago57 views
1 Answer
2
Accepted Answer

Hello.

Can't you disassociate using the AWS CLI below?
https://awscli.amazonaws.com/v2/documentation/api/latest/reference/ec2/disassociate-enclave-certificate-iam-role.html

aws ec2 disassociate-enclave-certificate-iam-role --certificate-arn "acm-arn" --role-arn "iam-role-arn"

AWS CLI can be run from CloudShell.
Open CloudShell using the steps in the document below.
https://docs.aws.amazon.com/cloudshell/latest/userguide/welcome.html

profile picture
EXPERT
answered 13 days ago
  • I tried it in my environment and was able to remove the IAM role association. If the command is successfully executed, the following response will be returned.

    {
        "Return": true
    }
    
  • This worked for me. Thank you.

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions