Class: SDM::VaultTokenCertX509Store
- Inherits:
-
Object
- Object
- SDM::VaultTokenCertX509Store
- Defined in:
- lib/models/porcelain.rb
Overview
VaultTokenCertX509Store is currently unstable, and its API may change, or it may be removed, without a major version bump.
Instance Attribute Summary collapse
-
#id ⇒ Object
Unique identifier of the SecretStore.
-
#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, name: nil, namespace: nil, pki_mount_point: nil, server_address: nil, signing_role: nil, tags: nil) ⇒ VaultTokenCertX509Store
constructor
A new instance of VaultTokenCertX509Store.
- #to_json(options = {}) ⇒ Object
Constructor Details
#initialize(id: nil, name: nil, namespace: nil, pki_mount_point: nil, server_address: nil, signing_role: nil, tags: nil) ⇒ VaultTokenCertX509Store
Returns a new instance of VaultTokenCertX509Store.
10379 10380 10381 10382 10383 10384 10385 10386 10387 10388 10389 10390 10391 10392 10393 10394 10395 |
# File 'lib/models/porcelain.rb', line 10379 def initialize( id: nil, name: nil, namespace: nil, pki_mount_point: nil, server_address: nil, signing_role: nil, tags: nil ) @id = id == nil ? "" : id @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 @tags = == nil ? SDM::() : end |
Instance Attribute Details
#id ⇒ Object
Unique identifier of the SecretStore.
10365 10366 10367 |
# File 'lib/models/porcelain.rb', line 10365 def id @id end |
#name ⇒ Object
Unique human-readable name of the SecretStore.
10367 10368 10369 |
# File 'lib/models/porcelain.rb', line 10367 def name @name end |
#namespace ⇒ Object
The namespace to make requests within
10369 10370 10371 |
# File 'lib/models/porcelain.rb', line 10369 def namespace @namespace end |
#pki_mount_point ⇒ Object
The mount point of the PKI engine configured with the desired CA
10371 10372 10373 |
# File 'lib/models/porcelain.rb', line 10371 def pki_mount_point @pki_mount_point end |
#server_address ⇒ Object
The URL of the Vault to target
10373 10374 10375 |
# File 'lib/models/porcelain.rb', line 10373 def server_address @server_address end |
#signing_role ⇒ Object
The signing role to be used for signing certificates
10375 10376 10377 |
# File 'lib/models/porcelain.rb', line 10375 def signing_role @signing_role end |
#tags ⇒ Object
Tags is a map of key, value pairs.
10377 10378 10379 |
# File 'lib/models/porcelain.rb', line 10377 def @tags end |
Instance Method Details
#to_json(options = {}) ⇒ Object
10397 10398 10399 10400 10401 10402 10403 |
# File 'lib/models/porcelain.rb', line 10397 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 |