Created
November 4, 2021 16:47
-
-
Save jdlom/d222d1cdbabbffb4aa80d231fcc04ba1 to your computer and use it in GitHub Desktop.
pin_minio_sspcloud
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
library(magrittr) | |
library(pins) | |
board <- pins::board_s3( | |
bucket = "jdlomenede", | |
prefix = "my_board/", | |
versioned = TRUE, | |
access_key = Sys.getenv("AWS_ACCESS_KEY_ID"), | |
secret_access_key = Sys.getenv("AWS_SECRET_ACCESS_KEY"), | |
session_token = Sys.getenv("AWS_SESSION_TOKEN"), | |
credential_expiration = NULL, | |
profile = NULL, | |
region = "", | |
endpoint = paste0("http://",Sys.getenv("AWS_S3_ENDPOINT")), | |
cache = NULL | |
) | |
board %>% pin_write(mtcars, "mtcars") | |
board %>% pin_read("mtcars") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment