Configure the duckdb secrets for remote access.
Usage
duckdb_secrets(
key = Sys.getenv("AWS_ACCESS_KEY_ID", ""),
secret = Sys.getenv("AWS_SECRET_ACCESS_KEY", ""),
endpoint = Sys.getenv("AWS_S3_ENDPOINT", "s3.amazonaws.com"),
bucket = NULL,
url_style = NULL,
type = "S3",
conn = cached_connection()
)
Arguments
- key
key
- secret
secret
- endpoint
endpoint address
- bucket
restricts the "SCOPE" of this key to only objects in this bucket-name. note that the bucket name is currently insensitive to endpoint
- url_style
path or vhost, for S3
- type
Key type, e.g. S3. See duckdb docs for details. references https://duckdb.org/docs/configuration/secrets_manager.html
- conn
A connection to a database.