aws.iam-certificate

Actions

delete

Delete an IAM Certificate

For example, if you want to automatically delete an unused IAM certificate.

example
- name: aws-iam-certificate-delete-expired
  resource: iam-certificate
  filters:
    - type: value
      key: Expiration
      value_type: expiration
      op: greater-than
      value: 0
  actions:
    - type: delete
properties:
  type:
    enum:
    - delete
required:
- type

Permissions - iam:DeleteServerCertificate