Skip to content

API user guide suggests sharing API key #846

Description

@caugner

The API docs at https://redash.io/help/user-guide/integrations-and-api/api/ include the following statement in the context of the Query Results endpoint (emphasis mine):

Appending a filetype of .csv or .json to this request will return a downloadable file.
If you append your api_key in the query string, this link will work for non-logged-in users.

My understanding is that Redash allows users only to generate a single API key that has the same permissions as the users, including listing/executing/modifying all queries that the user has access to.

This advice seems ambiguous, and might lead users to accidentally expose their API key, and compromise all datasets that the user has access to through their Redash instance.

Edit: A colleague pointed out that this paragraph likely refers to query API keys, as mentioned further above on that page. Nevertheless, it would probably be a good idea to avoid this ambiguity.

Activity

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