Skip to content

Fetch integer value from JSON  #190

Closed

Description

@artiotest

Hello,
I'm trying to fetch integer values from AWS SECRET MANAGER json document, but with vals seems not possibile.
Is there a supported solution out of the box ?

Example JSON
{ "secret": { "test": 1 } }

ref+awssecrets://dev?region=eu-central-1#/secret/test

Result using vals eval -f:
expand awssecrets://dev?region=eu-central-1#/secret/test: no value found for key secret/test

Thanks in advance

Activity

  1. yxxhero commented on Jan 21, 2024

    @yxxhero
    Member

    @artiodev PR is welcome.

  2. jpascal commented on Apr 11, 2024

    @jpascal

    I looked through code and found problem, if value of key is not string you will get "no value found for key" error. I have no time to fix it, but I want to do it for support all types (int, string, array). @artiodev

  3. added 2 commits that reference this issue on Aug 8, 2024
  4. linked a pull request that will close this issue#190-FetchInteger: Fix #492on Aug 8, 2024
  5. added 3 commits that reference this issue on Aug 12, 2024
  6. elkh510 commented on Sep 30, 2025

    @elkh510

    hi
    facing this issue
    maybe someone has a workaround ?

  7. aslafy-z commented on Sep 30, 2025

    @aslafy-z
    Contributor

    I'm pretty sure it would be nice fit for a initial "global" transformer #552

  8. added 3 commits that reference this issue on Jan 9, 2026
    38cb43c
    f31a02b
    0be7e88
  9. added a commit that references this issue on Jan 27, 2026
    8f7fd80
  10. added a commit that references this issue on Feb 6, 2026
    c4c8e9f
  11. added a commit that references this issue on Oct 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions