Class: Ansible::Ruby::Modules::Openssl_privatekey

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

Overview

This module allows one to (re)generate OpenSSL private keys. It uses the pyOpenSSL python library to interact with openssl. One can generate either RSA or DSA private keys. Keys are generated in PEM format.

Instance Method Summary collapse

Methods inherited from Base

#ansible_name, #to_h

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

#cipherString?



36
# File 'lib/ansible/ruby/modules/generated/crypto/openssl_privatekey.rb', line 36

attribute :cipher

#forceSymbol?



24
# File 'lib/ansible/ruby/modules/generated/crypto/openssl_privatekey.rb', line 24

attribute :force

#passphraseString?



32
# File 'lib/ansible/ruby/modules/generated/crypto/openssl_privatekey.rb', line 32

attribute :passphrase

#pathString



28
# File 'lib/ansible/ruby/modules/generated/crypto/openssl_privatekey.rb', line 28

attribute :path

#sizeInteger?



16
# File 'lib/ansible/ruby/modules/generated/crypto/openssl_privatekey.rb', line 16

attribute :size

#state:present, ...



12
# File 'lib/ansible/ruby/modules/generated/crypto/openssl_privatekey.rb', line 12

attribute :state

#type:RSA, ...



20
# File 'lib/ansible/ruby/modules/generated/crypto/openssl_privatekey.rb', line 20

attribute :type