PARALLAX

iam_server_certificate

Manage IAM server certificates for use on ELBs and CloudFront

Collection: community.aws

Full Name: community.aws.iam_server_certificate

Synopsis

Manage IAM server certificates for use on ELBs and CloudFront

Parameters

NameTypeRequiredDefaultDescription
access_keystr
aws_ca_bundlepath
aws_configdict
certstr
cert_chainstr
debug_botocore_endpoint_logsboolfalse
dup_okbooltrue
endpoint_urlstr
keystr
namestryes
new_namestr
new_pathstr
pathstr/
profilestr
regionstr
secret_keystr
session_tokenstr
statestryes
validate_certsbooltrue

Example

yaml
- name: Basic server certificate upload from local file
  community.aws.iam_server_certificate:
    name: very_ssl
    state: present
    cert: "{{ lookup('file', 'path/to/cert') }}"
    key: "{{ lookup('file', 'path/to/key') }}"
    cert_chain: "{{ lookup('file', 'path/to/certchain') }}"

- name: Server certificate upload using key string
  community.aws.iam_server_certificate:
    name: very_ssl
    state: present
    path: "/a/cert/path/"
    cert: "{{ lookup('file', 'path/to/cert') }}"
    key: "{{ lookup('file', 'path/to/key') }}"
    cert_chain: "{{ lookup('file', 'path/to/certchain') }}"

- name: Basic rename of existing certificate
  community.aws.iam_server_certificate:
    name: very_ssl
    new_name: new_very_ssl
    state: present
Search
    ↑ ↓ move↵ openesc close