![]() ![]() Immediately note the keyID and the applicationKey from the success message. A success message and your new application key appear. Leave the remaining optional controls and fields blank.Ĭlick the Create New Key button.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.The Add Application Key window appears.įill out the fields of the Add Application Key controls as follows: The Application Keys page appears.Ĭlick the Add a New Application Key button. To create an application key via the B2 web interface:Ĭlick the App Keys link. 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 the Buckets link 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. ![]()
0 Comments
Leave a Reply. |