Skip to content

No secrets loaded when using AcceptedSecretArns with name values #101

@ransagy

Description

@ransagy

When providing a list o AcceptedSecretArns, It is touted you can provide a full or partial ARN, or the actual secret names.
However, when i try to supply names only, No secrets are loaded.
Debugging into the fetching code, I can see it finds the secrets in AWS. However, the code expects to perform a join between the name/ARN of the provided secrets and the fetched ones - in this case, it will always be empty since its comparing the full ARN that was fetched against the name given in advance.

This seems like the wrong behavior; I haven't used this option before, so i want to make sure im not wrong here.
If this is a bug, I can look into fixing it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions