Skip to content

Commit d8456cf

Browse files
committed
Add comment about providing raw string
1 parent 40874d6 commit d8456cf

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,10 @@ Vault.configure do |config|
5353
# Custom SSL PEM, also read as ENV["VAULT_SSL_CERT"]
5454
config.ssl_pem_file = "/path/on/disk.pem"
5555

56+
# As an alternative to a pem file, you can provide the raw PEM string, also read in the following order of preference:
57+
# ENV["VAULT_SSL_PEM_CONTENTS_BASE64"] then ENV["VAULT_SSL_PEM_CONTENTS"]
58+
config.ssl_pem_contents = "-----BEGIN ENCRYPTED..."
59+
5660
# Use SSL verification, also read as ENV["VAULT_SSL_VERIFY"]
5761
config.ssl_verify = false
5862

0 commit comments

Comments
 (0)