Skip to content

SNOW-1799839: Authenticated Snowflake Rest API requests via JWT generation in SDK. #956

Open
@mbrimmer83

Description

What is the current behavior?

The current sdk can use JWT to secure connections to Snowflake, but provides no way to reuse this authentication for utilizing rest-api services provided by Snowflake even though the authentication is the same for rest-api's.

I haven't found a way to utilize the SDK to authenticate rest-api requests and have resorted to generating my own tokens the same way the SDK generates tokens.

What is the desired behavior?

Expose Authentication functions for generating JWT for use in querying Snowflake rest-api services. Another option would be to expose an authenticated "fetch" function that handles generating the token and placing it in the headers.

How would this improve snowflake-connector-nodejs?

Extends The SDK and allows the use of additional services provided by Snowflake.

References, Other Background

Metadata

Labels

enhancementThe issue is a request for improvement or a new featurestatus-triage_doneInitial triage done, will be further handled by the driver team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions