Azure / Azure/azure-cli

az storage account generate-sas doesn't generate full url

Open
#16,768 3 comments 0 reactions 1 assignee Claimed by @Juliehzl View on GitHub
act-codegen-extensibility-squad Service Attention Storage
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

The command to generate a SAS link doesn't generate a full url, it just generate the token and that's it. There is an option in the command that lets you do that and it's "--full-url".
However, every time I try to use it, the azure-cli tells me it doesn't exist:
![image](https://user-images.githubusercontent.com/24244295/106594128-f90bf980-6551-11eb-9343-a345efcc3be5.png)
I figured maybe it's because it's not the latest version of the cli, so I updated it to 2.18.0 and tried again, I got the same result.

I checked the --help of that command and it honestly doesn't contain half the options that are mentioned in the documentation, not just "--full-url" but more of the options.

---
#### Document Details

⚠ *Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.*

* ID: 92115d19-d7a0-93a8-bf2b-5126d1cddcd0
* Version Independent ID: a657f09b-e1ac-12a2-4b9c-7aaa1f0e3f5c
* Content: [az storage account](https://docs.microsoft.com/en-us/cli/azure/storage/account?view=azure-cli-latest)
* Content Source: [latest/docs-ref-autogen/storage/account.yml](https://github.com/MicrosoftDocs/azure-docs-cli/blob/master/latest/docs-ref-autogen/storage/account.yml)
* Service: **storage**
* GitHub Login: @rloutlaw
* Microsoft Alias: **routlaw**

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.