Retrieves the pre-configured API key. Learn more in Google's document Credentials, access, security, and identity. By default, this API key is initialized to one that ships with googledrive. But the user can store their own key via drive_auth_config(), i.e. overwrite the default.

drive_api_key()

Value

A Google API key.

Examples

drive_api_key()
#> [1] "AIzaSyCJ-oYJlNhbPDJySWsbR_B7QqzNz5EthTg"
# NOT RUN { drive_auth_config(api_key = "123") drive_api_key() # }