Class: SDM::AWSCertX509Store
- Inherits:
-
Object
- Object
- SDM::AWSCertX509Store
- Defined in:
- lib/models/porcelain.rb
Instance Attribute Summary collapse
-
#caarn ⇒ Object
The ARN of the CA in AWS Private CA.
-
#certificatetemplatearn ⇒ Object
The ARN of the AWS certificate template for requested certificates.
-
#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.
-
#region ⇒ Object
The AWS region to target e.g.
-
#signingalgo ⇒ Object
The specified signing algorithm family (RSA or ECDSA) must match the algorithm family of the CA's secret key.
-
#tags ⇒ Object
Tags is a map of key, value pairs.
Instance Method Summary collapse
-
#initialize(caarn: nil, certificatetemplatearn: nil, id: nil, issuedcertttlminutes: nil, name: nil, region: nil, signingalgo: nil, tags: nil) ⇒ AWSCertX509Store
constructor
A new instance of AWSCertX509Store.
- #to_json(options = {}) ⇒ Object
Constructor Details
#initialize(caarn: nil, certificatetemplatearn: nil, id: nil, issuedcertttlminutes: nil, name: nil, region: nil, signingalgo: nil, tags: nil) ⇒ AWSCertX509Store
Returns a new instance of AWSCertX509Store.
532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 |
# File 'lib/models/porcelain.rb', line 532 def initialize( caarn: nil, certificatetemplatearn: nil, id: nil, issuedcertttlminutes: nil, name: nil, region: nil, signingalgo: nil, tags: nil ) @caarn = caarn == nil ? "" : caarn @certificatetemplatearn = certificatetemplatearn == nil ? "" : certificatetemplatearn @id = id == nil ? "" : id @issuedcertttlminutes = issuedcertttlminutes == nil ? 0 : issuedcertttlminutes @name = name == nil ? "" : name @region = region == nil ? "" : region @signingalgo = signingalgo == nil ? "" : signingalgo @tags = == nil ? SDM::() : end |
Instance Attribute Details
#caarn ⇒ Object
The ARN of the CA in AWS Private CA
516 517 518 |
# File 'lib/models/porcelain.rb', line 516 def caarn @caarn end |
#certificatetemplatearn ⇒ Object
The ARN of the AWS certificate template for requested certificates. Must allow SAN, key usage, and ext key usage passthrough from CSR
518 519 520 |
# File 'lib/models/porcelain.rb', line 518 def certificatetemplatearn @certificatetemplatearn end |
#id ⇒ Object
Unique identifier of the SecretStore.
520 521 522 |
# File 'lib/models/porcelain.rb', line 520 def id @id end |
#issuedcertttlminutes ⇒ Object
The lifetime of certificates issued by this CA represented in minutes.
522 523 524 |
# File 'lib/models/porcelain.rb', line 522 def issuedcertttlminutes @issuedcertttlminutes end |
#name ⇒ Object
Unique human-readable name of the SecretStore.
524 525 526 |
# File 'lib/models/porcelain.rb', line 524 def name @name end |
#region ⇒ Object
The AWS region to target e.g. us-east-1
526 527 528 |
# File 'lib/models/porcelain.rb', line 526 def region @region end |
#signingalgo ⇒ Object
The specified signing algorithm family (RSA or ECDSA) must match the algorithm family of the CA's secret key. e.g. SHA256WITHRSA
528 529 530 |
# File 'lib/models/porcelain.rb', line 528 def signingalgo @signingalgo end |
#tags ⇒ Object
Tags is a map of key, value pairs.
530 531 532 |
# File 'lib/models/porcelain.rb', line 530 def @tags end |
Instance Method Details
#to_json(options = {}) ⇒ Object
552 553 554 555 556 557 558 |
# File 'lib/models/porcelain.rb', line 552 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 |