Uploaded image for project: 'jclouds'
  1. jclouds
  2. JCLOUDS-1519

Support for Backblaze application keys

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.1.2
    • Fix Version/s: None
    • Component/s: jclouds-blobstore
    • Labels:
      None

      Description

      The current implementation of the B2 API in JClouds only supports Master Keys and not application keys. 

      When using the Master Key, the Key ID and the Account ID are the same. However, when using Application Keys, the Key ID of the application key is not the same as the account ID. The account ID is what is needed to make certain calls such as bucket operations.

      The response of the b2_authorize_account contains the account ID.

      If you look at the b2_list_buckets endpoint, it takes in an account ID. This Account ID is returned in the authorize call.

      Looking at the source code, It seems that the account ID is being pulled from the credentials that the user entered versus the response from the authorize call.

      This issue prevents users from using Application keys when using JClouds. 

       

       

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              ecarneiro Elton Carneiro
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: