Skip to content

Fetching property key with a period in the key #963

@kollektiv

Description

@kollektiv

When I have a AWS SM Secret with the contents

{"foo.bar": "value"}

And the ExternalSecret .spec.data is like such

data:
    - secretKey: secret-key-to-be-managed
      remoteRef:
        key: provider-key
        property: "foo.bar"

There is an error that foo.bar does not exist. I assume ESO is expecting a JSON object like {"foo": { "bar": "value" } }. Please correct me if I'm wrong about this assumption. Is there a way to have the property interpreted literally?

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/awsIndicates an issue or PR related to AWS.kind/bugCategorizes issue or PR as related to a bug.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions