You could use the AWS CLI to check the current limit for IAM Server certificates by running the AWS CLI command -
$ aws service-quotas get-service-quota --service-code iam --quota-code L-BF35879D --region us-east-1
==============
{
"Quota": {
"ServiceCode": "iam",
"ServiceName": "AWS Identity and Access Management (IAM)",
"QuotaArn": "arn:aws:servicequotas::895006963947:iam/L-BF35879D",
"QuotaCode": "L-BF35879D",
"QuotaName": "Server certificates per account",
"Value": "55",
"Unit": "None",
"Adjustable": "true",
"GlobalQuota": "true",
"UsageMetric": null,
"Period": null,
"ErrorReason": null
}
}
==================
Here, you could see the Value as 55.
b. You could use the AWS Console to see this details.
Please make sure to select the region as 'us-east-1' regions.
Then please navigate to AWS services > AWS Identity and Access Management (IAM) > Server certificates per account.
Here, you could see the list.
Query 2 - Where you could see how many certificates are being used.
Answer - You could run the following CLI command to list the IAM certificates in your account -
$ aws iam list-server-certificates
I hope the above information is helpful. In case of any other query or concern, please feel free to update the case and I will be glad to assist you further.
References:
https://docs.aws.amazon.com/cli/latest/reference/service-quotas/get-service-quota.html#examples
[2] https://docs.aws.amazon.com/cli/latest/reference/iam/list-server-certificates.html#examples
No comments:
Post a Comment