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
gefragt vor einem Monat112 Aufrufe
1 Antwort
2
Akzeptierte Antwort

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
EXPERTE
beantwortet vor einem Monat
  • 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.

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen