Class: Ansible::Ruby::Modules::Iam_cert
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Iam_cert
- Defined in:
- lib/ansible/ruby/modules/generated/cloud/amazon/iam_cert.rb
Overview
Allows for the management of server certificates
Instance Method Summary collapse
-
#cert ⇒ String?
The path to, or content of the certificate body in PEM encoded format.
-
#cert_chain ⇒ String?
The path to, or content of the CA certificate chain in PEM encoded format.
-
#dup_ok ⇒ Boolean?
By default the module will not upload a certificate that is already uploaded into AWS.
-
#key ⇒ String?
The path to, or content of the private key in PEM encoded format.
-
#name ⇒ String
Name of certificate to add, update or remove.
-
#new_name ⇒ String?
When state is present, this will update the name of the cert.,The cert, key and cert_chain parameters will be ignored if this is defined.
-
#new_path ⇒ Object?
When state is present, this will update the path of the cert.,The cert, key and cert_chain parameters will be ignored if this is defined.
-
#path ⇒ String?
When creating or updating, specify the desired path of the certificate.
-
#state ⇒ :present, :absent
Whether to create(or update) or delete certificate.,If new_path or new_name is defined, specifying present will attempt to make an update these.
Methods inherited from Base
Methods inherited from Ansible::Ruby::Models::Base
attr_option, attr_options, attribute, #initialize, remove_existing_validations, #to_h, validates
Constructor Details
This class inherits a constructor from Ansible::Ruby::Models::Base
Instance Method Details
#cert ⇒ String?
Returns The path to, or content of the certificate body in PEM encoded format. As of 2.4 content is accepted. If the parameter is not a file, it is assumed to be content.
35 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/iam_cert.rb', line 35 attribute :cert |
#cert_chain ⇒ String?
Returns The path to, or content of the CA certificate chain in PEM encoded format. As of 2.4 content is accepted. If the parameter is not a file, it is assumed to be content.
31 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/iam_cert.rb', line 31 attribute :cert_chain |
#dup_ok ⇒ Boolean?
Returns By default the module will not upload a certificate that is already uploaded into AWS. If set to True, it will upload the certificate as long as the name is unique.
43 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/iam_cert.rb', line 43 attribute :dup_ok |
#key ⇒ String?
Returns The path to, or content of the private key in PEM encoded format. As of 2.4 content is accepted. If the parameter is not a file, it is assumed to be content.
39 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/iam_cert.rb', line 39 attribute :key |
#name ⇒ String
Returns Name of certificate to add, update or remove.
12 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/iam_cert.rb', line 12 attribute :name |
#new_name ⇒ String?
Returns When state is present, this will update the name of the cert.,The cert, key and cert_chain parameters will be ignored if this is defined.
16 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/iam_cert.rb', line 16 attribute :new_name |
#new_path ⇒ Object?
Returns When state is present, this will update the path of the cert.,The cert, key and cert_chain parameters will be ignored if this is defined.
20 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/iam_cert.rb', line 20 attribute :new_path |
#path ⇒ String?
Returns When creating or updating, specify the desired path of the certificate.
27 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/iam_cert.rb', line 27 attribute :path |
#state ⇒ :present, :absent
Returns Whether to create(or update) or delete certificate.,If new_path or new_name is defined, specifying present will attempt to make an update these.
23 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/iam_cert.rb', line 23 attribute :state |