Workspace Connections - List Secrets
기계 학습 작업 영역 연결의 모든 비밀을 나열합니다.
POST https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/connections/{connectionName}/listsecrets?api-version=2025-09-01
URI 매개 변수
| Name | In(다음 안에) | 필수 | 형식 | Description |
|---|---|---|---|---|
|
connection
|
path | True |
string pattern: ^[a-zA-Z0-9][a-zA-Z0-9_-]{2,32}$ |
작업 영역 연결의 이름 |
|
resource
|
path | True |
string minLength: 1maxLength: 90 |
리소스 그룹의 이름입니다. 이름은 대소문자를 구분하지 않습니다. |
|
subscription
|
path | True |
string minLength: 1 |
대상 구독의 ID입니다. |
|
workspace
|
path | True |
string pattern: ^[a-zA-Z0-9][a-zA-Z0-9_-]{2,32}$ |
Azure Machine Learning 작업 영역의 이름입니다. |
|
api-version
|
query | True |
string minLength: 1 |
이 작업에 사용할 API 버전입니다. |
응답
| Name | 형식 | Description |
|---|---|---|
| 200 OK |
요청이 성공했습니다. 요청은 잘 구성되었고 적절하게 접수되었습니다. |
|
| Other Status Codes |
오류 |
보안
azure_auth
Azure Active Directory OAuth2 흐름.
형식:
oauth2
Flow:
implicit
권한 부여 URL:
https://login.microsoftonline.com/common/oauth2/authorize
범위
| Name | Description |
|---|---|
| user_impersonation | 사용자 계정 가장 |
예제
GetWorkspaceConnection
샘플 요청
POST https://management.azure.com/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/test-rg/providers/Microsoft.MachineLearningServices/workspaces/workspace-1/connections/connection-1/listsecrets?api-version=2025-09-01
샘플 응답
{
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1/providers/Microsoft.MachineLearningServices/workspaces/workspace-1/connections/connection-1",
"name": "connection-1",
"type": "Microsoft.MachineLearningServices/workspaces/connections",
"properties": {
"authType": "AccessKey",
"credentials": {
"accessKeyId": "some_string",
"secretAccessKey": "some_string"
},
"category": "CustomKeys",
"expiryTime": "2020-01-01T00:00:00Z",
"target": "some_string",
"metadata": {}
},
"systemData": {
"createdAt": "2020-01-01T00:00:00Z",
"createdBy": "some_string",
"createdByType": "ManagedIdentity",
"lastModifiedAt": "2020-01-01T00:00:00Z",
"lastModifiedBy": "some_string",
"lastModifiedByType": "User"
}
}
정의
| Name | Description |
|---|---|
|
AADAuth |
이 연결 유형은 적용 가능한 Azure 서비스에 대한 AAD 인증을 포함합니다 |
|
Access |
|
|
Account |
이 연결 유형은 Azure Storage에 대한 계정 키 연결을 다룹니다 |
|
Api |
이 연결 유형은 일반적인 ApiKey 인증 연결 범주를 다룹니다(예: AzureOpenAI: Category:= AzureOpenAI AuthType:= ApiKey(형식 판별자) 자격 증명:= {ApiKey} Microsoft.MachineLearning.AccountRP.Contracts.WorkspaceConnection.ApiKey Target:= {ApiBase} CognitiveService: Category:= CognitiveService AuthType:= ApiKey(형식 판별자로) 자격 증명:= {SubscriptionKey} as Microsoft.MachineLearning.AccountRP.Contracts.WorkspaceConnection.ApiKey 대상:= ServiceRegion={serviceRegion} CognitiveSearch: Category:= CognitiveSearch AuthType:= ApiKey(형식 판별자로) 자격 증명:= {Key} Microsoft.MachineLearning.AccountRP.Contracts.WorkspaceConnection.ApiKey 대상:= {엔드포인트} ApiType, ApiVersion, Kind 및 기타 메타데이터 필드에 메타데이터 속성 모음 사용 |
|
Connection |
연결 대상의 인증 유형 |
|
Connection |
연결 범주 |
|
Connection |
연결 범주에 따라 그룹화 |
|
created |
리소스를 만든 ID의 형식입니다. |
|
Custom |
사용자 지정 키 자격 증명 개체 |
|
Custom |
Category:= CustomKeys AuthType:= CustomKeys(형식 판별자로) 자격 증명:= {CustomKeys} as Microsoft.MachineLearning.AccountRP.Contracts.WorkspaceConnection.CustomKeys Target:= {any value} ApiVersion 및 기타 메타데이터 필드에 메타데이터 속성 모음 사용 |
|
Error |
리소스 관리 오류 추가 정보입니다. |
|
Error |
오류 세부 정보입니다. |
|
Error |
오류 응답 |
|
Managed |
|
|
None |
|
|
OAuth2Auth |
|
|
PATAuth |
|
|
SASAuth |
|
|
Service |
|
|
system |
리소스의 생성 및 마지막 수정과 관련된 메타데이터입니다. |
|
Username |
|
|
Value |
작업 영역 연결 값에 대한 형식 |
|
Workspace |
|
|
Workspace |
|
|
Workspace |
작업 영역 연결 자격 증명에 대한 API 키 개체입니다. |
|
Workspace |
|
|
Workspace |
ClientId 및 ClientSecret이 필요합니다. 다른 속성은 각 OAuth2 공급자의 구현에 따라 선택 사항입니다. |
|
Workspace |
|
|
Workspace |
|
|
Workspace |
|
|
Workspace |
|
|
Workspace |
AADAuthTypeWorkspaceConnectionProperties
이 연결 유형은 적용 가능한 Azure 서비스에 대한 AAD 인증을 포함합니다
| Name | 형식 | Description |
|---|---|---|
| authType |
string:
AAD |
연결 대상의 인증 유형 |
| category |
연결 범주 |
|
| createdByWorkspaceArmId |
string (arm-id) |
|
| expiryTime |
string (date-time) |
|
| group |
연결 범주에 따라 그룹화 |
|
| isSharedToAll |
boolean |
|
| metadata |
object |
이 연결에 대한 사용자 메타데이터 저장 |
| sharedUserList |
string[] |
|
| target |
string |
|
| value |
string |
작업 영역 연결의 값 세부 정보입니다. |
| valueFormat |
작업 영역 연결 값에 대한 형식 |
AccessKeyAuthTypeWorkspaceConnectionProperties
| Name | 형식 | Description |
|---|---|---|
| authType |
string:
Access |
연결 대상의 인증 유형 |
| category |
연결 범주 |
|
| createdByWorkspaceArmId |
string (arm-id) |
|
| credentials | ||
| expiryTime |
string (date-time) |
|
| group |
연결 범주에 따라 그룹화 |
|
| isSharedToAll |
boolean |
|
| metadata |
object |
이 연결에 대한 사용자 메타데이터 저장 |
| sharedUserList |
string[] |
|
| target |
string |
|
| value |
string |
작업 영역 연결의 값 세부 정보입니다. |
| valueFormat |
작업 영역 연결 값에 대한 형식 |
AccountKeyAuthTypeWorkspaceConnectionProperties
이 연결 유형은 Azure Storage에 대한 계정 키 연결을 다룹니다
| Name | 형식 | Description |
|---|---|---|
| authType |
string:
Account |
연결 대상의 인증 유형 |
| category |
연결 범주 |
|
| createdByWorkspaceArmId |
string (arm-id) |
|
| credentials | ||
| expiryTime |
string (date-time) |
|
| group |
연결 범주에 따라 그룹화 |
|
| isSharedToAll |
boolean |
|
| metadata |
object |
이 연결에 대한 사용자 메타데이터 저장 |
| sharedUserList |
string[] |
|
| target |
string |
|
| value |
string |
작업 영역 연결의 값 세부 정보입니다. |
| valueFormat |
작업 영역 연결 값에 대한 형식 |
ApiKeyAuthWorkspaceConnectionProperties
이 연결 유형은 일반적인 ApiKey 인증 연결 범주를 다룹니다(예: AzureOpenAI: Category:= AzureOpenAI AuthType:= ApiKey(형식 판별자) 자격 증명:= {ApiKey} Microsoft.MachineLearning.AccountRP.Contracts.WorkspaceConnection.ApiKey Target:= {ApiBase}
CognitiveService: Category:= CognitiveService AuthType:= ApiKey(형식 판별자로) 자격 증명:= {SubscriptionKey} as Microsoft.MachineLearning.AccountRP.Contracts.WorkspaceConnection.ApiKey 대상:= ServiceRegion={serviceRegion}
CognitiveSearch: Category:= CognitiveSearch AuthType:= ApiKey(형식 판별자로) 자격 증명:= {Key} Microsoft.MachineLearning.AccountRP.Contracts.WorkspaceConnection.ApiKey 대상:= {엔드포인트}
ApiType, ApiVersion, Kind 및 기타 메타데이터 필드에 메타데이터 속성 모음 사용
| Name | 형식 | Description |
|---|---|---|
| authType |
string:
Api |
연결 대상의 인증 유형 |
| category |
연결 범주 |
|
| createdByWorkspaceArmId |
string (arm-id) |
|
| credentials |
작업 영역 연결 자격 증명에 대한 API 키 개체입니다. |
|
| expiryTime |
string (date-time) |
|
| group |
연결 범주에 따라 그룹화 |
|
| isSharedToAll |
boolean |
|
| metadata |
object |
이 연결에 대한 사용자 메타데이터 저장 |
| sharedUserList |
string[] |
|
| target |
string |
|
| value |
string |
작업 영역 연결의 값 세부 정보입니다. |
| valueFormat |
작업 영역 연결 값에 대한 형식 |
ConnectionAuthType
연결 대상의 인증 유형
| 값 | Description |
|---|---|
| PAT | |
| ManagedIdentity | |
| UsernamePassword | |
| None | |
| SAS | |
| AccountKey | |
| ServicePrincipal | |
| AccessKey | |
| ApiKey | |
| CustomKeys | |
| OAuth2 | |
| AAD |
ConnectionCategory
연결 범주
| 값 | Description |
|---|---|
| PythonFeed | |
| ContainerRegistry | |
| Git | |
| S3 | |
| Snowflake | |
| AzureSqlDb | |
| AzureSynapseAnalytics | |
| AzureMySqlDb | |
| AzurePostgresDb | |
| ADLSGen2 | |
| Redis | |
| ApiKey | |
| AzureOpenAI | |
| AIServices | |
| CognitiveSearch | |
| CognitiveService | |
| CustomKeys | |
| AzureBlob | |
| AzureOneLake | |
| CosmosDb | |
| CosmosDbMongoDbApi | |
| AzureDataExplorer | |
| AzureMariaDb | |
| AzureDatabricksDeltaLake | |
| AzureSqlMi | |
| AzureTableStorage | |
| AmazonRdsForOracle | |
| AmazonRdsForSqlServer | |
| AmazonRedshift | |
| Db2 | |
| Drill | |
| GoogleBigQuery | |
| Greenplum | |
| Hbase | |
| Hive | |
| Impala | |
| Informix | |
| MariaDb | |
| MicrosoftAccess | |
| MySql | |
| Netezza | |
| Oracle | |
| Phoenix | |
| PostgreSql | |
| Presto | |
| SapOpenHub | |
| SapBw | |
| SapHana | |
| SapTable | |
| Spark | |
| SqlServer | |
| Sybase | |
| Teradata | |
| Vertica | |
| Pinecone | |
| Cassandra | |
| Couchbase | |
| MongoDbV2 | |
| MongoDbAtlas | |
| AmazonS3Compatible | |
| FileServer | |
| FtpServer | |
| GoogleCloudStorage | |
| Hdfs | |
| OracleCloudStorage | |
| Sftp | |
| GenericHttp | |
| ODataRest | |
| Odbc | |
| GenericRest | |
| AmazonMws | |
| Concur | |
| Dynamics | |
| DynamicsAx | |
| DynamicsCrm | |
| GoogleAdWords | |
| Hubspot | |
| Jira | |
| Magento | |
| Marketo | |
| Office365 | |
| Eloqua | |
| Responsys | |
| OracleServiceCloud | |
| PayPal | |
| QuickBooks | |
| Salesforce | |
| SalesforceServiceCloud | |
| SalesforceMarketingCloud | |
| SapCloudForCustomer | |
| SapEcc | |
| ServiceNow | |
| SharePointOnlineList | |
| Shopify | |
| Square | |
| WebTable | |
| Xero | |
| Zoho | |
| GenericContainerRegistry | |
| Elasticsearch | |
| OpenAI | |
| Serp | |
| BingLLMSearch | |
| Serverless | |
| ManagedOnlineEndpoint |
ConnectionGroup
연결 범주에 따라 그룹화
| 값 | Description |
|---|---|
| Azure | |
| AzureAI | |
| Database | |
| NoSQL | |
| File | |
| GenericProtocol | |
| ServicesAndApps |
createdByType
리소스를 만든 ID의 형식입니다.
| 값 | Description |
|---|---|
| User | |
| Application | |
| ManagedIdentity | |
| Key |
CustomKeys
사용자 지정 키 자격 증명 개체
| Name | 형식 | Description |
|---|---|---|
| keys |
object |
CustomKeysWorkspaceConnectionProperties
Category:= CustomKeys AuthType:= CustomKeys(형식 판별자로) 자격 증명:= {CustomKeys} as Microsoft.MachineLearning.AccountRP.Contracts.WorkspaceConnection.CustomKeys Target:= {any value} ApiVersion 및 기타 메타데이터 필드에 메타데이터 속성 모음 사용
| Name | 형식 | Description |
|---|---|---|
| authType | string: |
연결 대상의 인증 유형 |
| category |
연결 범주 |
|
| createdByWorkspaceArmId |
string (arm-id) |
|
| credentials |
사용자 지정 키 자격 증명 개체 |
|
| expiryTime |
string (date-time) |
|
| group |
연결 범주에 따라 그룹화 |
|
| isSharedToAll |
boolean |
|
| metadata |
object |
이 연결에 대한 사용자 메타데이터 저장 |
| sharedUserList |
string[] |
|
| target |
string |
|
| value |
string |
작업 영역 연결의 값 세부 정보입니다. |
| valueFormat |
작업 영역 연결 값에 대한 형식 |
ErrorAdditionalInfo
리소스 관리 오류 추가 정보입니다.
| Name | 형식 | Description |
|---|---|---|
| info |
object |
추가 정보입니다. |
| type |
string |
추가 정보 유형입니다. |
ErrorDetail
오류 세부 정보입니다.
| Name | 형식 | Description |
|---|---|---|
| additionalInfo |
오류 추가 정보입니다. |
|
| code |
string |
오류 코드입니다. |
| details |
오류 세부 정보입니다. |
|
| message |
string |
오류 메시지입니다. |
| target |
string |
오류 대상입니다. |
ErrorResponse
오류 응답
| Name | 형식 | Description |
|---|---|---|
| error |
오류 개체입니다. |
ManagedIdentityAuthTypeWorkspaceConnectionProperties
| Name | 형식 | Description |
|---|---|---|
| authType |
string:
Managed |
연결 대상의 인증 유형 |
| category |
연결 범주 |
|
| createdByWorkspaceArmId |
string (arm-id) |
|
| credentials | ||
| expiryTime |
string (date-time) |
|
| group |
연결 범주에 따라 그룹화 |
|
| isSharedToAll |
boolean |
|
| metadata |
object |
이 연결에 대한 사용자 메타데이터 저장 |
| sharedUserList |
string[] |
|
| target |
string |
|
| value |
string |
작업 영역 연결의 값 세부 정보입니다. |
| valueFormat |
작업 영역 연결 값에 대한 형식 |
NoneAuthTypeWorkspaceConnectionProperties
| Name | 형식 | Description |
|---|---|---|
| authType |
string:
None |
연결 대상의 인증 유형 |
| category |
연결 범주 |
|
| createdByWorkspaceArmId |
string (arm-id) |
|
| expiryTime |
string (date-time) |
|
| group |
연결 범주에 따라 그룹화 |
|
| isSharedToAll |
boolean |
|
| metadata |
object |
이 연결에 대한 사용자 메타데이터 저장 |
| sharedUserList |
string[] |
|
| target |
string |
|
| value |
string |
작업 영역 연결의 값 세부 정보입니다. |
| valueFormat |
작업 영역 연결 값에 대한 형식 |
OAuth2AuthTypeWorkspaceConnectionProperties
| Name | 형식 | Description |
|---|---|---|
| authType |
string:
OAuth2 |
연결 대상의 인증 유형 |
| category |
연결 범주 |
|
| createdByWorkspaceArmId |
string (arm-id) |
|
| credentials |
ClientId 및 ClientSecret이 필요합니다. 다른 속성은 각 OAuth2 공급자의 구현에 따라 선택 사항입니다. |
|
| expiryTime |
string (date-time) |
|
| group |
연결 범주에 따라 그룹화 |
|
| isSharedToAll |
boolean |
|
| metadata |
object |
이 연결에 대한 사용자 메타데이터 저장 |
| sharedUserList |
string[] |
|
| target |
string |
|
| value |
string |
작업 영역 연결의 값 세부 정보입니다. |
| valueFormat |
작업 영역 연결 값에 대한 형식 |
PATAuthTypeWorkspaceConnectionProperties
| Name | 형식 | Description |
|---|---|---|
| authType |
string:
PAT |
연결 대상의 인증 유형 |
| category |
연결 범주 |
|
| createdByWorkspaceArmId |
string (arm-id) |
|
| credentials | ||
| expiryTime |
string (date-time) |
|
| group |
연결 범주에 따라 그룹화 |
|
| isSharedToAll |
boolean |
|
| metadata |
object |
이 연결에 대한 사용자 메타데이터 저장 |
| sharedUserList |
string[] |
|
| target |
string |
|
| value |
string |
작업 영역 연결의 값 세부 정보입니다. |
| valueFormat |
작업 영역 연결 값에 대한 형식 |
SASAuthTypeWorkspaceConnectionProperties
| Name | 형식 | Description |
|---|---|---|
| authType |
string:
SAS |
연결 대상의 인증 유형 |
| category |
연결 범주 |
|
| createdByWorkspaceArmId |
string (arm-id) |
|
| credentials | ||
| expiryTime |
string (date-time) |
|
| group |
연결 범주에 따라 그룹화 |
|
| isSharedToAll |
boolean |
|
| metadata |
object |
이 연결에 대한 사용자 메타데이터 저장 |
| sharedUserList |
string[] |
|
| target |
string |
|
| value |
string |
작업 영역 연결의 값 세부 정보입니다. |
| valueFormat |
작업 영역 연결 값에 대한 형식 |
ServicePrincipalAuthTypeWorkspaceConnectionProperties
| Name | 형식 | Description |
|---|---|---|
| authType |
string:
Service |
연결 대상의 인증 유형 |
| category |
연결 범주 |
|
| createdByWorkspaceArmId |
string (arm-id) |
|
| credentials | ||
| expiryTime |
string (date-time) |
|
| group |
연결 범주에 따라 그룹화 |
|
| isSharedToAll |
boolean |
|
| metadata |
object |
이 연결에 대한 사용자 메타데이터 저장 |
| sharedUserList |
string[] |
|
| target |
string |
|
| value |
string |
작업 영역 연결의 값 세부 정보입니다. |
| valueFormat |
작업 영역 연결 값에 대한 형식 |
systemData
리소스의 생성 및 마지막 수정과 관련된 메타데이터입니다.
| Name | 형식 | Description |
|---|---|---|
| createdAt |
string (date-time) |
리소스 만들기의 타임스탬프(UTC)입니다. |
| createdBy |
string |
리소스를 만든 ID입니다. |
| createdByType |
리소스를 만든 ID의 형식입니다. |
|
| lastModifiedAt |
string (date-time) |
리소스 마지막 수정의 타임스탬프(UTC) |
| lastModifiedBy |
string |
리소스를 마지막으로 수정한 ID입니다. |
| lastModifiedByType |
리소스를 마지막으로 수정한 ID의 형식입니다. |
UsernamePasswordAuthTypeWorkspaceConnectionProperties
| Name | 형식 | Description |
|---|---|---|
| authType |
string:
Username |
연결 대상의 인증 유형 |
| category |
연결 범주 |
|
| createdByWorkspaceArmId |
string (arm-id) |
|
| credentials | ||
| expiryTime |
string (date-time) |
|
| group |
연결 범주에 따라 그룹화 |
|
| isSharedToAll |
boolean |
|
| metadata |
object |
이 연결에 대한 사용자 메타데이터 저장 |
| sharedUserList |
string[] |
|
| target |
string |
|
| value |
string |
작업 영역 연결의 값 세부 정보입니다. |
| valueFormat |
작업 영역 연결 값에 대한 형식 |
ValueFormat
작업 영역 연결 값에 대한 형식
| 값 | Description |
|---|---|
| JSON |
WorkspaceConnectionAccessKey
| Name | 형식 | Description |
|---|---|---|
| accessKeyId |
string |
|
| secretAccessKey |
string |
WorkspaceConnectionAccountKey
| Name | 형식 | Description |
|---|---|---|
| key |
string |
WorkspaceConnectionApiKey
작업 영역 연결 자격 증명에 대한 API 키 개체입니다.
| Name | 형식 | Description |
|---|---|---|
| key |
string |
WorkspaceConnectionManagedIdentity
| Name | 형식 | Description |
|---|---|---|
| clientId |
string |
|
| resourceId |
string |
WorkspaceConnectionOAuth2
ClientId 및 ClientSecret이 필요합니다. 다른 속성은 각 OAuth2 공급자의 구현에 따라 선택 사항입니다.
| Name | 형식 | Description |
|---|---|---|
| authUrl |
string (url) |
Concur 연결 범주에 필요 |
| clientId |
string (uuid) |
UUID 형식의 클라이언트 ID |
| clientSecret |
string |
|
| developerToken |
string |
GoogleAdWords 연결 범주에 필요 |
| password |
string |
|
| refreshToken |
string |
사용자가 RefreshToken을 오프라인으로 가져와야 하는 GoogleBigQuery, GoogleAdWords, Hubspot, QuickBooks, Square, Xero, Zoho에 필요합니다. |
| tenantId |
string |
QuickBooks 및 Xero 연결 범주에 필요 |
| username |
string |
Concur, ServiceNow 인증 서버 AccessToken 권한 부여 유형은 UsernamePassword가 필요한 'Password'입니다. |
WorkspaceConnectionPersonalAccessToken
| Name | 형식 | Description |
|---|---|---|
| pat |
string |
WorkspaceConnectionPropertiesV2BasicResource
| Name | 형식 | Description |
|---|---|---|
| id |
string |
리소스에 대한 정규화된 리소스 ID입니다. 예 - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} |
| name |
string |
리소스의 이름 |
| properties |
WorkspaceConnectionPropertiesV2:
|
|
| systemData |
createdBy 및 modifiedBy 정보가 포함된 Azure Resource Manager 메타데이터입니다. |
|
| type |
string |
리소스의 형식입니다. 예: "Microsoft.Compute/virtualMachines" 또는 "Microsoft.Storage/storageAccounts" |
WorkspaceConnectionServicePrincipal
| Name | 형식 | Description |
|---|---|---|
| clientId |
string |
|
| clientSecret |
string |
|
| tenantId |
string |
WorkspaceConnectionSharedAccessSignature
| Name | 형식 | Description |
|---|---|---|
| sas |
string |
WorkspaceConnectionUsernamePassword
| Name | 형식 | Description |
|---|---|---|
| password |
string |
|
| securityToken |
string |
선택 사항, UsernamePassword 외에 추가 보안을 위해 SalesForce와 같은 연결에 필요 |
| username |
string |