Skip to content

fetch_secrets on name behaving as contains #21

@josduppen

Description

@josduppen

First off, thanks for this. I see this as really beneficial for our company automation efforts. I'd love to drop Azure key vault in favor for this module. We currently only store secrets/passwords there.

I was testing with this and when using fetch_secrets together with secret_name I would expect to get a single entry returned for each secret_name I was trying to lookup. However it seems to be behaving as a "contains" returning multiple entries.

For example.

Vault with entries:
"Test - Windows Password"
"Test - Windows Password 2"
"Copy Test - Windows Password 2"

Trying to fetch "Test - Windows Password" also returns the other 2 entries

Not entirely related, but I was also getting a HP iLO (web) returned besides credential entries

Should it match exact and only return a single entry? Or was it intended this way?
If intended I'd love the option to be able to match it exact as well.

Metadata

Metadata

Assignees

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