PARALLAX

iam_server_certificate_info

Retrieve the information of a server certificate

Collection: community.aws

Full Name: community.aws.iam_server_certificate_info

Synopsis

Retrieve the information of a server certificate

Parameters

NameTypeRequiredDefaultDescription
access_keystr
aws_ca_bundlepath
aws_configdict
debug_botocore_endpoint_logsboolfalse
endpoint_urlstr
namestr
profilestr
regionstr
secret_keystr
session_tokenstr
validate_certsbooltrue

Example

yaml
- name: Retrieve server certificate
  community.aws.iam_server_certificate_info:
    name: production-cert
  register: server_cert

- name: Fail if the server certificate name was not found
  community.aws.iam_server_certificate_info:
    name: production-cert
  register: server_cert
  failed_when: "{{ server_cert.results | length == 0 }}"
Search
    ↑ ↓ move↵ openesc close