Skip to content

feat(auth): allow providing raw private key and email instead of filepath#104

Merged
mharrisb1 merged 4 commits into
evidence-dev:mainfrom
mharrisb1:87-allow-the-user-to-provide-access-key-via-parameter
Feb 20, 2026
Merged

feat(auth): allow providing raw private key and email instead of filepath#104
mharrisb1 merged 4 commits into
evidence-dev:mainfrom
mharrisb1:87-allow-the-user-to-provide-access-key-via-parameter

Conversation

@mharrisb1
Copy link
Copy Markdown
Collaborator

Overview

Closes #87: Allow the user to provide access key via parameter

Allows user to use either filepath or raw email and secret values for key_file provider.

CREATE SECRET (
    TYPE gsheet,
    PROVIDER key_file,
    FILEPATH '<path_to_JSON_file_with_private_key>'
);

-- or
CREATE SECRET (
    TYPE gsheet,
    PROVIDER key_file,
    EMAIL '<service_account_email>',
    SECRET '<private_key>'
);

@mharrisb1 mharrisb1 requested a review from archiewood February 19, 2026 21:52
@mharrisb1 mharrisb1 self-assigned this Feb 19, 2026
@mharrisb1 mharrisb1 added the enhancement New feature or request label Feb 19, 2026
Copy link
Copy Markdown
Member

@archiewood archiewood left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems like a good idea to add.

Some suggestions inline

Comment thread docs/pages/index.md Outdated
Comment thread src/sheets/auth/service_account_auth.cpp Outdated
@mharrisb1 mharrisb1 merged commit f8ae67c into evidence-dev:main Feb 20, 2026
12 checks passed
@mharrisb1 mharrisb1 deleted the 87-allow-the-user-to-provide-access-key-via-parameter branch February 20, 2026 21:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Allow the user to provide access key via parameter

2 participants