Show Your MotherDuck Token
show_motherduck_token.RdDisplays the active MotherDuck authentication token associated with the current connection. Useful for debugging or verifying that your session is authenticated correctly.
Details
The show_motherduck_token() function executes the internal MotherDuck pragma
print_md_token and returns the token information. This function should only be
used in secure environments, as it exposes your authentication token in plain text.
It requires a valid MotherDuck connection established with DBI::dbConnect().
Examples
if (FALSE) { # \dontrun{
con <- DBI::dbConnect(duckdb::duckdb())
show_motherduck_token(con)
DBI::dbDisconnect(con)
} # }