![]() You'll use this information when you implement header-based authentication with private objects. Immediately note the keyID and the applicationKey from the success message. ![]() Leave the remaining optional controls and fields blank.From the Type of Access controls, select Read Only.From the Allow access to Bucket(s) menu, select the name of your private bucket.Key names are alphanumeric and can only use hyphens ( -) as separators, not spaces. In the Name of Key field, enter the name of your private bucket key.To create an application key via the B2 web interface:įill out the fields of the Add Application Key controls as follows: If you choose an expiration, however, you'll need to periodically create a new application key and then update your Fastly configuration accordingly each time. You can optionally set the key to expire after a certain number of seconds (up to a maximum of 1000 days or 86,400,000 seconds). When creating application keys for your private bucket, we recommend using the least amount of privileges possible. The Backblaze documentation provides more information about application keys. If you plan to use a Backblaze B2 private bucket with Fastly, you should create an application key specific to the bucket. Your Backblaze master application key controls access to all buckets and files on your Backblaze account. The hostname is the text in the Endpoint field.Ĭreating a Backblaze application key for private buckets Click Buckets and find the bucket details for the bucket you just created. Via the B2 web interface when you're using the S3 Compatible API. Run the b2 get-account-info command on the command line and use the hostname from the downloadUrl attribute. Via the command line and the B2 Cloud Storage API. The hostname is the text after the designator in each line that matches exactly. Click the name of the file you just uploaded and examine the Friendly URL and Native URL fields in the Details window that appears. Via the B2 web interface when you're using the standard B2 Cloud Storage API. To set up a Fastly service that interacts with your B2, you will need to know the hostname Backblaze assigned to the bucket you created and uploaded files to.įind your hostname in one of the following ways: Find your bucket's assigned hostname so you can set up a Fastly service that interacts with B2.Once uploaded, the name of the file appears in the list of files for the bucket. The name and type of file at this stage doesn't matter. Either drag and drop any file into the window or click to use the file selection tools to find a file to be uploaded.Find the bucket details for the bucket you just created.The B2 Cloud Storage Buckets page appears. Click Buckets in the B2 web interface.The Backblaze Guide provides details on how to upload files using the command line tool. ![]() Follow these steps to create a new bucket via the B2 web interface. Creating a new bucketĭata in B2 is stored in buckets. To use B2 as an origin, follow the steps below. For more information, read Backblaze's article on Getting Started with the S3 Compatible API. Buckets and their specific application keys created prior to May 4th, 2020, however, cannot be used with the S3 Compatible API. The S3 Compatible API allows existing S3 integrations and SDKs to integrate with B2. You can use the B2 Cloud Storage API or the S3 Compatible API to make your B2 data buckets available through Fastly.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |