Skip to content

Cannot fetch any secrets #134

@Jeremy-Magical

Description

@Jeremy-Magical

Scenario & Reproduction Steps

I'm using client.secrets.resolve to try to resolve a secret reference that works on the CLI but I keep getting:

(v0.1.6)

error error resolving secret reference: unable to fetch vault attributes error when retrieving all vaults metadata: http error: error issuing the request with reqwest: error sending request: promise resolved to unexpected type

(v0.2.0)

error Error: error resolving secret reference: unable to retrieve vaults: request library compatibility issue, check that the your environment uses compatible versions: reqwest library: error sending request

When I try to use the client.items.get I get this error
(v0.2.0)

 Error: request library compatibility issue, check that the your environment uses compatible versions: reqwest library: error sending request

Actual Behavior

I cannot make any API requests it seems

Expected Behavior

No response

SDK version

v0.2.0

Additional information

  • Again I tried using the same service account key with the CLI and everything worked fine.
  • I confirmed the auth token is set properly

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