Storage Accounts - List Account SAS

스토리지 계정의 SAS 자격 증명을 나열합니다.

POST https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/ListAccountSas?api-version=2023-01-01

URI 매개 변수

Name In(다음 안에) 필수 형식 Description
accountName
path True

string

지정된 리소스 그룹 내의 스토리지 계정 이름입니다. Storage 계정 이름은 3자에서 24자 사이여야 하고 숫자 및 소문자만 사용해야 합니다.

Regex pattern: ^[a-z0-9]+$

resourceGroupName
path True

string

사용자의 구독 내에서 리소스 그룹의 이름입니다. 이름은 대소문자를 구분하지 않습니다.

Regex pattern: ^[-\w\._\(\)]+$

subscriptionId
path True

string

대상 구독의 ID입니다.

api-version
query True

string

이 작업에 사용할 API 버전입니다.

요청 본문

Name 필수 형식 Description
signedExpiry True

string

공유 액세스 서명이 유효하지 않은 시간입니다.

signedPermission True

Permissions

계정 SAS에 대한 서명된 권한입니다. 가능한 값은 읽기(r), 쓰기(w), 삭제(d), 목록(l), 추가(a), 만들기(c), 업데이트(u) 및 프로세스(p)입니다.

signedResourceTypes True

SignedResourceTypes

계정 SAS를 사용하여 액세스할 수 있는 서명된 리소스 유형입니다. 서비스: 서비스 수준 API에 대한 액세스; 컨테이너(c): 컨테이너 수준 API에 대한 액세스; 개체(o): Blob, 큐 메시지, 테이블 엔터티 및 파일에 대한 개체 수준 API에 액세스합니다.

signedServices True

Services

계정 SAS를 사용하여 액세스할 수 있는 서명된 서비스입니다. 가능한 값은 Blob(b), 큐(q), 테이블(t), 파일(f)입니다.

keyToSign

string

계정 SAS 토큰에 서명할 키입니다.

signedIp

string

요청을 수락할 IP 주소 또는 IP 주소 범위입니다.

signedProtocol

HttpProtocol

계정 SAS를 사용하여 수행한 요청에 허용되는 프로토콜입니다.

signedStart

string

SAS가 유효한 시간입니다.

응답

Name 형식 Description
200 OK

ListAccountSasResponse

확인 -- 요청된 스토리지 계정에 대해 만든 계정 SAS를 반환했습니다.

보안

azure_auth

Azure Active Directory OAuth2 Flow

Type: oauth2
Flow: implicit
Authorization URL: https://login.microsoftonline.com/common/oauth2/authorize

Scopes

Name Description
user_impersonation 사용자 계정 가장

예제

StorageAccountListAccountSAS

Sample Request

POST https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/res7985/providers/Microsoft.Storage/storageAccounts/sto8588/ListAccountSas?api-version=2023-01-01

{
  "signedServices": "b",
  "signedResourceTypes": "s",
  "signedPermission": "r",
  "signedProtocol": "https,http",
  "signedStart": "2017-05-24T10:42:03.1567373Z",
  "signedExpiry": "2017-05-24T11:42:03.1567373Z",
  "keyToSign": "key1"
}

Sample Response

{
  "accountSasToken": "sv=2015-04-05&ss=b&srt=s&sp=r&st=2017-05-24T10%3A42%3A03Z&se=2017-05-24T11%3A42%3A03Z&spr=https,http&sig=Z0I%2BEpM%2BPPlTC8ApfUf%2BcffO2aahMgZim3U0iArqsS0%3D"
}

정의

Name Description
AccountSasParameters

스토리지 계정의 SAS 자격 증명을 나열하는 매개 변수입니다.

HttpProtocol

계정 SAS를 사용하여 수행한 요청에 허용되는 프로토콜입니다.

ListAccountSasResponse

SAS 자격 증명 나열 작업 응답입니다.

Permissions

계정 SAS에 대한 서명된 권한입니다. 가능한 값은 읽기(r), 쓰기(w), 삭제(d), 목록(l), 추가(a), 만들기(c), 업데이트(u) 및 프로세스(p)입니다.

Services

계정 SAS를 사용하여 액세스할 수 있는 서명된 서비스입니다. 가능한 값은 Blob(b), 큐(q), 테이블(t), 파일(f)입니다.

SignedResourceTypes

계정 SAS를 사용하여 액세스할 수 있는 서명된 리소스 유형입니다. 서비스: 서비스 수준 API에 대한 액세스; 컨테이너(c): 컨테이너 수준 API에 대한 액세스; 개체(o): Blob, 큐 메시지, 테이블 엔터티 및 파일에 대한 개체 수준 API에 액세스합니다.

AccountSasParameters

스토리지 계정의 SAS 자격 증명을 나열하는 매개 변수입니다.

Name 형식 Description
keyToSign

string

계정 SAS 토큰에 서명할 키입니다.

signedExpiry

string

공유 액세스 서명이 유효하지 않은 시간입니다.

signedIp

string

요청을 수락할 IP 주소 또는 IP 주소 범위입니다.

signedPermission

Permissions

계정 SAS에 대한 서명된 권한입니다. 가능한 값은 읽기(r), 쓰기(w), 삭제(d), 목록(l), 추가(a), 만들기(c), 업데이트(u) 및 프로세스(p)입니다.

signedProtocol

HttpProtocol

계정 SAS를 사용하여 수행한 요청에 허용되는 프로토콜입니다.

signedResourceTypes

SignedResourceTypes

계정 SAS를 사용하여 액세스할 수 있는 서명된 리소스 유형입니다. 서비스: 서비스 수준 API에 대한 액세스; 컨테이너(c): 컨테이너 수준 API에 대한 액세스; 개체(o): Blob, 큐 메시지, 테이블 엔터티 및 파일에 대한 개체 수준 API에 액세스합니다.

signedServices

Services

계정 SAS를 사용하여 액세스할 수 있는 서명된 서비스입니다. 가능한 값은 Blob(b), 큐(q), 테이블(t), 파일(f)입니다.

signedStart

string

SAS가 유효한 시간입니다.

HttpProtocol

계정 SAS를 사용하여 수행한 요청에 허용되는 프로토콜입니다.

Name 형식 Description
https

string

https,http

string

ListAccountSasResponse

SAS 자격 증명 나열 작업 응답입니다.

Name 형식 Description
accountSasToken

string

스토리지 계정의 SAS 자격 증명을 나열합니다.

Permissions

계정 SAS에 대한 서명된 권한입니다. 가능한 값은 읽기(r), 쓰기(w), 삭제(d), 목록(l), 추가(a), 만들기(c), 업데이트(u) 및 프로세스(p)입니다.

Name 형식 Description
a

string

c

string

d

string

l

string

p

string

r

string

u

string

w

string

Services

계정 SAS를 사용하여 액세스할 수 있는 서명된 서비스입니다. 가능한 값은 Blob(b), 큐(q), 테이블(t), 파일(f)입니다.

Name 형식 Description
b

string

f

string

q

string

t

string

SignedResourceTypes

계정 SAS를 사용하여 액세스할 수 있는 서명된 리소스 유형입니다. 서비스: 서비스 수준 API에 대한 액세스; 컨테이너(c): 컨테이너 수준 API에 대한 액세스; 개체(o): Blob, 큐 메시지, 테이블 엔터티 및 파일에 대한 개체 수준 API에 액세스합니다.

Name 형식 Description
c

string

o

string

s

string