Class: Ansible::Ruby::Modules::Acme_challenge_cert_helper

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/crypto/acme/acme_challenge_cert_helper.rb

Overview

Prepares certificates for ACME challenges such as C(tls-alpn-01). The raw data is provided by the M(acme_certificate) module, and needs to be converted to a certificate to be used for challenge validation. This module provides a simple way to generate the required certificates. The C(tls-alpn-01) implementation is based on L(the draft-05 version of the specification,tools.ietf.org/html/draft-ietf-acme-tls-alpn-05).

Instance Method Summary collapse

Methods inherited from Base

#ansible_name, #to_h

Methods inherited from Ansible::Ruby::Models::Base

attr_option, attr_options, attribute, fix_inclusion, #initialize, remove_existing_validations, #to_h, validates

Constructor Details

This class inherits a constructor from Ansible::Ruby::Models::Base

Instance Method Details

#challenge:"tls-alpn-01"

Returns The challenge type.

Returns:

  • (:"tls-alpn-01")

    The challenge type.



14
# File 'lib/ansible/ruby/modules/generated/crypto/acme/acme_challenge_cert_helper.rb', line 14

attribute :challenge

#challenge_dataString

Returns The C(challenge_data) entry provided by M(acme_certificate) for the challenge.

Returns:

  • (String)

    The C(challenge_data) entry provided by M(acme_certificate) for the challenge.



18
# File 'lib/ansible/ruby/modules/generated/crypto/acme/acme_challenge_cert_helper.rb', line 18

attribute :challenge_data

#private_key_contentObject?

Returns Content of the private key to use for this challenge certificate.,Mutually exclusive with C(private_key_src).

Returns:

  • (Object, nil)

    Content of the private key to use for this challenge certificate.,Mutually exclusive with C(private_key_src).



26
# File 'lib/ansible/ruby/modules/generated/crypto/acme/acme_challenge_cert_helper.rb', line 26

attribute :private_key_content

#private_key_srcString?

Returns Path to a file containing the private key file to use for this challenge certificate.,Mutually exclusive with C(private_key_content).

Returns:

  • (String, nil)

    Path to a file containing the private key file to use for this challenge certificate.,Mutually exclusive with C(private_key_content).



22
# File 'lib/ansible/ruby/modules/generated/crypto/acme/acme_challenge_cert_helper.rb', line 22

attribute :private_key_src