Class: SDM::VaultAWSEC2CertX509Store
- Inherits:
-
Object
- Object
- SDM::VaultAWSEC2CertX509Store
- Defined in:
- lib/models/porcelain.rb
Instance Attribute Summary collapse
-
#id ⇒ Object
Unique identifier of the SecretStore.
-
#issuedcertttlminutes ⇒ Object
The lifetime of certificates issued by this CA represented in minutes.
-
#name ⇒ Object
Unique human-readable name of the SecretStore.
-
#namespace ⇒ Object
The namespace to make requests within.
-
#pki_mount_point ⇒ Object
The mount point of the PKI engine configured with the desired CA.
-
#server_address ⇒ Object
The URL of the Vault to target.
-
#signing_role ⇒ Object
The signing role to be used for signing certificates.
-
#tags ⇒ Object
Tags is a map of key, value pairs.
Instance Method Summary collapse
-
#initialize(id: nil, issuedcertttlminutes: nil, name: nil, namespace: nil, pki_mount_point: nil, server_address: nil, signing_role: nil, tags: nil) ⇒ VaultAWSEC2CertX509Store
constructor
A new instance of VaultAWSEC2CertX509Store.
- #to_json(options = {}) ⇒ Object
Constructor Details
#initialize(id: nil, issuedcertttlminutes: nil, name: nil, namespace: nil, pki_mount_point: nil, server_address: nil, signing_role: nil, tags: nil) ⇒ VaultAWSEC2CertX509Store
Returns a new instance of VaultAWSEC2CertX509Store.
16672 16673 16674 16675 16676 16677 16678 16679 16680 16681 16682 16683 16684 16685 16686 16687 16688 16689 16690 |
# File 'lib/models/porcelain.rb', line 16672 def initialize( id: nil, issuedcertttlminutes: nil, name: nil, namespace: nil, pki_mount_point: nil, server_address: nil, signing_role: nil, tags: nil ) @id = id == nil ? "" : id @issuedcertttlminutes = issuedcertttlminutes == nil ? 0 : issuedcertttlminutes @name = name == nil ? "" : name @namespace = namespace == nil ? "" : namespace @pki_mount_point = pki_mount_point == nil ? "" : pki_mount_point @server_address = server_address == nil ? "" : server_address @signing_role = signing_role == nil ? "" : signing_role = == nil ? SDM::() : end |
Instance Attribute Details
#id ⇒ Object
Unique identifier of the SecretStore.
16656 16657 16658 |
# File 'lib/models/porcelain.rb', line 16656 def id @id end |
#issuedcertttlminutes ⇒ Object
The lifetime of certificates issued by this CA represented in minutes.
16658 16659 16660 |
# File 'lib/models/porcelain.rb', line 16658 def issuedcertttlminutes @issuedcertttlminutes end |
#name ⇒ Object
Unique human-readable name of the SecretStore.
16660 16661 16662 |
# File 'lib/models/porcelain.rb', line 16660 def name @name end |
#namespace ⇒ Object
The namespace to make requests within
16662 16663 16664 |
# File 'lib/models/porcelain.rb', line 16662 def namespace @namespace end |
#pki_mount_point ⇒ Object
The mount point of the PKI engine configured with the desired CA
16664 16665 16666 |
# File 'lib/models/porcelain.rb', line 16664 def pki_mount_point @pki_mount_point end |
#server_address ⇒ Object
The URL of the Vault to target
16666 16667 16668 |
# File 'lib/models/porcelain.rb', line 16666 def server_address @server_address end |
#signing_role ⇒ Object
The signing role to be used for signing certificates
16668 16669 16670 |
# File 'lib/models/porcelain.rb', line 16668 def signing_role @signing_role end |
#tags ⇒ Object
Tags is a map of key, value pairs.
16670 16671 16672 |
# File 'lib/models/porcelain.rb', line 16670 def end |
Instance Method Details
#to_json(options = {}) ⇒ Object
16692 16693 16694 16695 16696 16697 16698 |
# File 'lib/models/porcelain.rb', line 16692 def to_json( = {}) hash = {} self.instance_variables.each do |var| hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var end hash.to_json end |