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

Feature/sc 455513/allow using key pair credentials in raster #158

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

josemaria-vilaplana
Copy link

@josemaria-vilaplana josemaria-vilaplana commented Jan 8, 2025

Proposed Changes

Snowflake key pair authentication support. See: Key-pair authentication

2 new options added to snowflake commands:
--private-key-path: Path to your privake key in PEM format
--private-key-passphrase: Passphrase for private key if it's encrypted (optional)

Example:

carto snowflake upload \
  --file_url https://... \
  --database my-snowflake-database \
  --schema my-snowflake-schema \
  --table my-snowflake-table \
  --account my-snowflake-account \
  --warehouse my-warehouse \
  --username my-snowflake-user \
  --private-key-path /path/to/my/privatekey.pem \
  --private-key-passphrase my-passphrase \
  --band 1 \
  --cleanup-on-failure \
  --overwrite

Pull Request Checklist

  • I have tested the changes locally

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

Successfully merging this pull request may close these issues.

1 participant