다음을 통해 공유


Web Apps - Get App Setting Key Vault Reference

앱의 구성 참조 및 상태 가져오기에 대한 설명

GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/configreferences/appsettings/{appSettingKey}?api-version=2023-12-01

URI 매개 변수

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

string

앱 설정 키 이름입니다.

name
path True

string

응용 프로그램의 이름입니다.

resourceGroupName
path True

string

리소스가 속한 리소스 그룹의 이름입니다.

regex 패턴: ^[-\w\._\(\)]+[^\.]$

subscriptionId
path True

string

Azure 구독 ID. GUID 형식 문자열입니다(예: 00000000-0000-0000-0000-0000-00000000000).

api-version
query True

string

API 버전

응답

Name 형식 Description
200 OK

ApiKVReference

정상

Other Status Codes

DefaultErrorResponse

오류 응답을 App Service.

보안

azure_auth

Azure Active Directory OAuth2 Flow

형식: oauth2
Flow: implicit
권한 부여 URL: https://login.microsoftonline.com/common/oauth2/authorize

범위

Name Description
user_impersonation 사용자 계정 가장

예제

Get Azure Key Vault app setting reference

샘플 요청

GET https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/testc6282/config/configreferences/appsettings/setting?api-version=2023-12-01

샘플 응답

{
  "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/testc6282/config/configreferences/appsettings/setting",
  "properties": {
    "vaultName": "keyVaultName",
    "secretName": "secretName",
    "secretVersion": "secretVersion"
  }
}

정의

Name Description
ApiKVReference

사이트 키 자격 증명 모음 참조에 대한 설명입니다.

ConfigReferenceSource
DefaultErrorResponse

오류 응답을 App Service.

Details
Error

오류 모델.

ManagedServiceIdentity

관리 서비스 ID.

ManagedServiceIdentityType

관리 서비스 ID의 유형입니다.

ResolveStatus
userAssignedIdentity

사용자 할당 ID.

ApiKVReference

사이트 키 자격 증명 모음 참조에 대한 설명입니다.

Name 형식 Description
id

string

리소스 ID입니다.

kind

string

리소스 종류입니다.

name

string

리소스 이름입니다.

properties.activeVersion

string

properties.details

string

properties.identityType

ManagedServiceIdentity

관리 서비스 ID.

properties.reference

string

properties.secretName

string

properties.secretVersion

string

properties.source

ConfigReferenceSource

properties.status

ResolveStatus

properties.vaultName

string

type

string

리소스 종류.

ConfigReferenceSource

Name 형식 Description
KeyVault

string

DefaultErrorResponse

오류 응답을 App Service.

Name 형식 Description
error

Error

오류 모델.

Details

Name 형식 Description
code

string

프로그래밍 방식으로 오류를 식별하는 표준화된 문자열입니다.

message

string

자세한 오류 설명 및 디버깅 정보입니다.

target

string

자세한 오류 설명 및 디버깅 정보입니다.

Error

오류 모델.

Name 형식 Description
code

string

프로그래밍 방식으로 오류를 식별하는 표준화된 문자열입니다.

details

Details[]

자세한 오류입니다.

innererror

string

디버그 오류에 대한 자세한 정보입니다.

message

string

자세한 오류 설명 및 디버깅 정보입니다.

target

string

자세한 오류 설명 및 디버깅 정보입니다.

ManagedServiceIdentity

관리 서비스 ID.

Name 형식 Description
principalId

string

관리 서비스 ID의 보안 주체 ID입니다.

tenantId

string

관리 서비스 ID의 테넌트입니다.

type

ManagedServiceIdentityType

관리 서비스 ID의 유형입니다.

userAssignedIdentities

<string,  userAssignedIdentity>

리소스와 연결된 사용자 할당 ID 목록입니다. 사용자 ID 사전 키 참조는 '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName} 형식의 ARM 리소스 ID입니다.

ManagedServiceIdentityType

관리 서비스 ID의 유형입니다.

Name 형식 Description
None

string

SystemAssigned

string

SystemAssigned, UserAssigned

string

UserAssigned

string

ResolveStatus

Name 형식 Description
AccessToKeyVaultDenied

string

FetchTimedOut

string

Initialized

string

InvalidSyntax

string

MSINotEnabled

string

OtherReasons

string

Resolved

string

SecretNotFound

string

SecretVersionNotFound

string

UnauthorizedClient

string

VaultNotFound

string

userAssignedIdentity

사용자 할당 ID.

Name 형식 Description
clientId

string

사용자 할당 ID의 클라이언트 ID

principalId

string

사용자 할당 ID의 보안 주체 ID