зеркало из https://github.com/microsoft/azure-cli.git
[Storage] GA Release User Delegation SAS token Support (#11408)
* remove preview in revoke-delegation-keys * remove preview in blob generate-sas * remove preview in container generate-sas * update history
This commit is contained in:
Родитель
b2fd927da1
Коммит
2636e9c6c5
|
@ -9,7 +9,11 @@ Release History
|
|||
|
||||
**Packaging**
|
||||
|
||||
* Add back edge builds for pip install
|
||||
* Add back edge builds for pip install
|
||||
|
||||
**Storage**
|
||||
|
||||
* GA Release User Delegation SAS token Support
|
||||
|
||||
2.0.77
|
||||
++++++
|
||||
|
|
|
@ -301,7 +301,7 @@ def load_arguments(self, _): # pylint: disable=too-many-locals, too-many-statem
|
|||
'using this shared access signature.')
|
||||
c.argument('full_uri', action='store_true',
|
||||
help='Indicates that this command return the full blob URI and the shared access signature token.')
|
||||
c.argument('as_user', min_api='2018-11-09', is_preview=True, action='store_true',
|
||||
c.argument('as_user', min_api='2018-11-09', action='store_true',
|
||||
validator=as_user_validator,
|
||||
help="Indicates that this command return the SAS signed with the user delegation key. "
|
||||
"The expiry parameter and '--auth-mode login' are required if this argument is specified. ")
|
||||
|
@ -598,7 +598,7 @@ def load_arguments(self, _): # pylint: disable=too-many-locals, too-many-statem
|
|||
'using this shared access signature.')
|
||||
c.argument('content_type', help='Response header value for Content-Type when resource is accessed'
|
||||
'using this shared access signature.')
|
||||
c.argument('as_user', min_api='2018-11-09', is_preview=True, action='store_true',
|
||||
c.argument('as_user', min_api='2018-11-09', action='store_true',
|
||||
validator=as_user_validator,
|
||||
help="Indicates that this command return the SAS signed with the user delegation key. "
|
||||
"The expiry parameter and '--auth-mode login' are required if this argument is specified. ")
|
||||
|
|
|
@ -84,7 +84,7 @@ def load_command_table(self, _): # pylint: disable=too-many-locals, too-many-st
|
|||
transform=lambda x: getattr(x, 'keys', x))
|
||||
g.command('keys list', 'list_keys',
|
||||
transform=lambda x: getattr(x, 'keys', x))
|
||||
g.command('revoke-delegation-keys', 'revoke_user_delegation_keys', min_api='2019-04-01', is_preview=True)
|
||||
g.command('revoke-delegation-keys', 'revoke_user_delegation_keys', min_api='2019-04-01')
|
||||
|
||||
with self.command_group('storage account', cloud_data_plane_sdk) as g:
|
||||
g.storage_command('generate-sas', 'generate_shared_access_signature')
|
||||
|
|
Загрузка…
Ссылка в новой задаче