Skip to content

[BUG] Key transformed to uppercase when exported to env var using wildcard #536

@martinsolberg

Description

@martinsolberg

Vault server version

v1.15.5

vault-action version

v3

Describe the bug

When getting multiple keys in a path using wildcard, the resulting environment variables have their case transformed to uppercase.

To Reproduce

with:
    secrets: |
        secret/data/ci/aws * | MYAPP_ ;

The key accessKey will be created as MYAPP_ACCESSKEY.

Expected behavior

The exported environment variable should retain the key case, e.g. MYAPP_accessKey.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions