ApiKeyAuthWorkspaceConnectionProperties interface
This connection type covers the generic ApiKey auth connection categories, for examples: AzureOpenAI: Category:= AzureOpenAI AuthType:= ApiKey (as type discriminator) Credentials:= {ApiKey} as Microsoft.MachineLearning.AccountRP.Contracts.WorkspaceConnection.ApiKey Target:= {ApiBase}
CognitiveService: Category:= CognitiveService AuthType:= ApiKey (as type discriminator) Credentials:= {SubscriptionKey} as Microsoft.MachineLearning.AccountRP.Contracts.WorkspaceConnection.ApiKey Target:= ServiceRegion={serviceRegion}
CognitiveSearch: Category:= CognitiveSearch AuthType:= ApiKey (as type discriminator) Credentials:= {Key} as Microsoft.MachineLearning.AccountRP.Contracts.WorkspaceConnection.ApiKey Target:= {Endpoint}
Use Metadata property bag for ApiType, ApiVersion, Kind and other metadata fields
- Extends
Properties
| auth |
Authentication type of the connection target |
| credentials |
Inherited Properties
| category | Category of the connection |
| created |
|
| error | |
| expiry |
|
| group | Group based on connection category |
| is |
|
| metadata | Store user metadata for this connection |
| pe |
|
| pe |
|
| shared |
|
| target | |
| use |
Property Details
authType
Authentication type of the connection target
authType: "ApiKey"
Property Value
"ApiKey"
credentials
Inherited Property Details
category
Category of the connection
category?: string
Property Value
string
Inherited From WorkspaceConnectionPropertiesV2.category
createdByWorkspaceArmId
createdByWorkspaceArmId?: string
Property Value
string
Inherited From WorkspaceConnectionPropertiesV2.createdByWorkspaceArmId
error
expiryTime
group
Group based on connection category
group?: string
Property Value
string
Inherited From WorkspaceConnectionPropertiesV2.group
isSharedToAll
isSharedToAll?: boolean
Property Value
boolean
Inherited From WorkspaceConnectionPropertiesV2.isSharedToAll
metadata
Store user metadata for this connection
metadata?: Record<string, string>
Property Value
Record<string, string>
Inherited From WorkspaceConnectionPropertiesV2.metadata
peRequirement
peRequirement?: string
Property Value
string
Inherited From WorkspaceConnectionPropertiesV2.peRequirement
peStatus
sharedUserList
sharedUserList?: string[]
Property Value
string[]
Inherited From WorkspaceConnectionPropertiesV2.sharedUserList
target
useWorkspaceManagedIdentity
useWorkspaceManagedIdentity?: boolean
Property Value
boolean
Inherited From WorkspaceConnectionPropertiesV2.useWorkspaceManagedIdentity