Skip to content

Commit

Permalink
Because the "VAULT_SSL_CERT" env var is set, added ssl
Browse files Browse the repository at this point in the history
parameters to the oidc vault client creation.
  • Loading branch information
George Jahad committed Oct 18, 2024
1 parent ca256c8 commit 70329c3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion app/lib/utils/oidc_provider.rb
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,10 @@ def vault_client
@vault_client ||=
::Vault::Client.new(
address: Config[:oidc_provider_addr],
token: Config[:vault_token]
token: Config[:vault_token],
ssl_ca_cert: Config[:vault_ssl_cert],
ssl_pem_file: Config[:vault_ssl_client_cert],
ssl_key_file: Config[:vault_ssl_client_key]
)
end

Expand Down

0 comments on commit 70329c3

Please sign in to comment.