Class: Cerbos::TLS
- Inherits:
-
Object
- Object
- Cerbos::TLS
- Defined in:
- lib/cerbos/tls.rb
Overview
Settings for encrypting the gRPC connection with TLS.
Direct Known Subclasses
Instance Attribute Summary collapse
-
#root_certificates_pem ⇒ String?
readonly
The PEM-encoded certificates of root certificate authorities used to verify the server certificate.
Instance Method Summary collapse
-
#initialize(root_certificates_pem: nil) ⇒ TLS
constructor
Create settings for encrypting the gRPC connection with TLS.
Constructor Details
#initialize(root_certificates_pem: nil) ⇒ TLS
Create settings for encrypting the gRPC connection with TLS.
15 16 17 |
# File 'lib/cerbos/tls.rb', line 15 def initialize(root_certificates_pem: nil) @root_certificates_pem = root_certificates_pem end |
Instance Attribute Details
#root_certificates_pem ⇒ String? (readonly)
The PEM-encoded certificates of root certificate authorities used to verify the server certificate.
10 11 12 |
# File 'lib/cerbos/tls.rb', line 10 def root_certificates_pem @root_certificates_pem end |