Skip to content

get_user_delegation_key duplicates URI keys #624

Closed
@jetuk

Description

@jetuk

I am trying to the use the azure_svc_blobstorage crate to obtain a user delegation key (i.e. perform this operation). However, the Builder API requires comp and restype arguments that are all ready predefined in the url_str for the operation:

let url_str = &format!("{}/?restype=service&comp=userdelegationkey", self.client.endpoint(),);

I am unsure what values I should be passing to the builder, or if this is a bug. My current code is as follows, but is rejected with "Value for one of the query parameters specified in the request URI is invalid."

        let key = client
            .service()
            .get_user_delegation_key("service", "userdelegationkey", body, "2021-02-12")
            .into_future()
            .await?;

Metadata

Metadata

Assignees

No one assigned

    Labels

    CodeGenIssues that relate to code generationbugThis issue requires a change to an existing behavior in the product in order to be resolved.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions