Authorise Backblaze B2 Account.
b2AuthorizeAccount authorises an account on Backblaze's B2 cloud
Specific API endpoint address for this function. See examples.
Account identification code for the relevant Backblaze B2 account. This may be obtained by clicking Show Account ID and Application Key hypertext from the B2 My Account area, after logging in with a web browser.
Account authorisation key for the relevant Backblaze B2 account. This may be obtained by clicking Show Account ID and Application Key hypertext from the B2 My Account area, after logging in with a web browser.
This authorisation function must be executed first, before any other
functions in this package. Failure to execute
renders everything else pointless. You will require a valid Backblaze B2
authorizationKey. Create a Backblaze B2 account
and obtain your access credentials here:
Further documentation regarding the Backblaze B2 Cloud Storage API is available here:
API account authorization
authorizationKey are all mandatory and must be user defined.
b2AuthorizeAccount is executed, a new login to Backblaze B2
occurs. Don't login more than is necessary.
If successful, an authorisation token will be returned and stored in an Rds file called accountAuthorization.Rds in the current working directory. The data in this Rds file will be used in all other functions in this package. Specific B2 documentation regarding this API call can be found here:
Consider programmtically deleting accountAuthorization.Rds on exit.
1 2 3 4 5 6
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.