8000 VAULT_CLIENT_CERT will always override cert param · Issue #938 · hvac/hvac · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
VAULT_CLIENT_CERT will always override cert param #938
Closed
@arpanrec

Description

@arpanrec

if cert is not None and VAULT_CLIENT_CERT:

        if cert is not None and VAULT_CLIENT_CERT:
            cert = "\n".join(
                [
                    VAULT_CLIENT_CERT,
                    VAULT_CLIENT_KEY,
                ]
            )

I expect the param cert code to take priority over the environment variable VAULT_CLIENT_CERT.
This is correctly followed for the verify param. verify param will take priority over VAULT_CAPATH

At least this logic should be consistent for both.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0