Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow creating gsheet secrets in other loaded secret storages #30

Open
stephaniewang526 opened this issue Oct 25, 2024 · 2 comments
Open

Comments

@stephaniewang526
Copy link

Currently running into when trying to create a gsheet secret in the loaded "motherduck" secret storage:

D load '/Users/stephaniewang/Documents/dev/duckdb-gsheets/build/release/extension/gsheets/gsheets.duckdb_extension';
D CREATE SECRET in motherduck (TYPE gsheet, PROVIDER oauth);
Visit the below URL to authorize DuckDB GSheets

https://accounts.google.com/o/oauth2/v2/auth?client_id=793766532675-rehqgocfn88h0nl88322ht6d1i12kl4e.apps.googleusercontent.com&redirect_uri=https://duckdb-gsheets.com/oauth&response_type=token&scope=https://www.googleapis.com/auth/spreadsheets&state=Ma6kU1SAVc

After granting permission, enter the token: <redacted>

Invalid Input Error: Secret type 'gsheet' not found

Same missing secret type error for both oauth provider and "token".

@archiewood
Copy link
Member

Does motherduck store secrets in a place other than where duckdb does when operating locally?

@Alex-Monahan
Copy link
Contributor

I think there are some details here (@stephaniewang526 is the expert though!): duckdb/duckdb#10042 in the "custom secret storage" section.

@archiewood archiewood added enhancement New feature or request and removed enhancement New feature or request labels Nov 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants