1. Packages
  2. Packages
  3. Azure Native
  4. API Docs
  5. datafactory
  6. getCredentialOperation
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Viewing docs for Azure Native v3.23.0
published on Saturday, Jul 18, 2026 by Pulumi
azure-native logo
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Viewing docs for Azure Native v3.23.0
published on Saturday, Jul 18, 2026 by Pulumi

    Gets a credential.

    Uses Azure REST API version 2018-06-01.

    Using getCredentialOperation

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getCredentialOperation(args: GetCredentialOperationArgs, opts?: InvokeOptions): Promise<GetCredentialOperationResult>
    function getCredentialOperationOutput(args: GetCredentialOperationOutputArgs, opts?: InvokeOptions): Output<GetCredentialOperationResult>
    def get_credential_operation(credential_name: Optional[str] = None,
                                 factory_name: Optional[str] = None,
                                 resource_group_name: Optional[str] = None,
                                 opts: Optional[InvokeOptions] = None) -> GetCredentialOperationResult
    def get_credential_operation_output(credential_name: pulumi.Input[Optional[str]] = None,
                                 factory_name: pulumi.Input[Optional[str]] = None,
                                 resource_group_name: pulumi.Input[Optional[str]] = None,
                                 opts: Optional[InvokeOptions] = None) -> Output[GetCredentialOperationResult]
    func LookupCredentialOperation(ctx *Context, args *LookupCredentialOperationArgs, opts ...InvokeOption) (*LookupCredentialOperationResult, error)
    func LookupCredentialOperationOutput(ctx *Context, args *LookupCredentialOperationOutputArgs, opts ...InvokeOption) LookupCredentialOperationResultOutput

    > Note: This function is named LookupCredentialOperation in the Go SDK.

    public static class GetCredentialOperation 
    {
        public static Task<GetCredentialOperationResult> InvokeAsync(GetCredentialOperationArgs args, InvokeOptions? opts = null)
        public static Output<GetCredentialOperationResult> Invoke(GetCredentialOperationInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetCredentialOperationResult> getCredentialOperation(GetCredentialOperationArgs args, InvokeOptions options)
    public static Output<GetCredentialOperationResult> getCredentialOperation(GetCredentialOperationArgs args, InvokeOptions options)
    
    fn::invoke:
      function: azure-native:datafactory:getCredentialOperation
      arguments:
        # arguments dictionary
    data "azure-native_datafactory_getcredentialoperation" "name" {
        # arguments
    }

    The following arguments are supported:

    CredentialName string
    Credential name
    FactoryName string
    The factory name.
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    CredentialName string
    Credential name
    FactoryName string
    The factory name.
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    credential_name string
    Credential name
    factory_name string
    The factory name.
    resource_group_name string
    The name of the resource group. The name is case insensitive.
    credentialName String
    Credential name
    factoryName String
    The factory name.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    credentialName string
    Credential name
    factoryName string
    The factory name.
    resourceGroupName string
    The name of the resource group. The name is case insensitive.
    credential_name str
    Credential name
    factory_name str
    The factory name.
    resource_group_name str
    The name of the resource group. The name is case insensitive.
    credentialName String
    Credential name
    factoryName String
    The factory name.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.

    getCredentialOperation Result

    The following output properties are available:

    AzureApiVersion string
    The Azure API version of the resource.
    Etag string
    "If etag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.")
    Id string
    Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
    Name string
    The name of the resource
    Properties Pulumi.AzureNative.DataFactory.Outputs.ManagedIdentityCredentialResponse | Pulumi.AzureNative.DataFactory.Outputs.ServicePrincipalCredentialResponse
    Properties of credentials.
    SystemData Pulumi.AzureNative.DataFactory.Outputs.SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    Type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    AzureApiVersion string
    The Azure API version of the resource.
    Etag string
    "If etag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.")
    Id string
    Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
    Name string
    The name of the resource
    Properties ManagedIdentityCredentialResponse | ServicePrincipalCredentialResponse
    Properties of credentials.
    SystemData SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    Type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    azure_api_version string
    The Azure API version of the resource.
    etag string
    "If etag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.")
    id string
    Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
    name string
    The name of the resource
    properties object | object
    Properties of credentials.
    system_data object
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    azureApiVersion String
    The Azure API version of the resource.
    etag String
    "If etag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.")
    id String
    Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
    name String
    The name of the resource
    properties ManagedIdentityCredentialResponse | ServicePrincipalCredentialResponse
    Properties of credentials.
    systemData SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type String
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    azureApiVersion string
    The Azure API version of the resource.
    etag string
    "If etag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.")
    id string
    Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
    name string
    The name of the resource
    properties ManagedIdentityCredentialResponse | ServicePrincipalCredentialResponse
    Properties of credentials.
    systemData SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    azure_api_version str
    The Azure API version of the resource.
    etag str
    "If etag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.")
    id str
    Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
    name str
    The name of the resource
    properties ManagedIdentityCredentialResponse | ServicePrincipalCredentialResponse
    Properties of credentials.
    system_data SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type str
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    azureApiVersion String
    The Azure API version of the resource.
    etag String
    "If etag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.")
    id String
    Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
    name String
    The name of the resource
    properties Property Map | Property Map
    Properties of credentials.
    systemData Property Map
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type String
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

    Supporting Types

    AzureKeyVaultSecretReferenceResponse

    SecretName object
    The name of the secret in Azure Key Vault. Type: string (or Expression with resultType string).
    Store Pulumi.AzureNative.DataFactory.Inputs.LinkedServiceReferenceResponse
    The Azure Key Vault linked service reference.
    SecretVersion object
    The version of the secret in Azure Key Vault. The default value is the latest version of the secret. Type: string (or Expression with resultType string).
    SecretName interface{}
    The name of the secret in Azure Key Vault. Type: string (or Expression with resultType string).
    Store LinkedServiceReferenceResponse
    The Azure Key Vault linked service reference.
    SecretVersion interface{}
    The version of the secret in Azure Key Vault. The default value is the latest version of the secret. Type: string (or Expression with resultType string).
    secret_name any
    The name of the secret in Azure Key Vault. Type: string (or Expression with resultType string).
    store object
    The Azure Key Vault linked service reference.
    secret_version any
    The version of the secret in Azure Key Vault. The default value is the latest version of the secret. Type: string (or Expression with resultType string).
    secretName Object
    The name of the secret in Azure Key Vault. Type: string (or Expression with resultType string).
    store LinkedServiceReferenceResponse
    The Azure Key Vault linked service reference.
    secretVersion Object
    The version of the secret in Azure Key Vault. The default value is the latest version of the secret. Type: string (or Expression with resultType string).
    secretName any
    The name of the secret in Azure Key Vault. Type: string (or Expression with resultType string).
    store LinkedServiceReferenceResponse
    The Azure Key Vault linked service reference.
    secretVersion any
    The version of the secret in Azure Key Vault. The default value is the latest version of the secret. Type: string (or Expression with resultType string).
    secret_name Any
    The name of the secret in Azure Key Vault. Type: string (or Expression with resultType string).
    store LinkedServiceReferenceResponse
    The Azure Key Vault linked service reference.
    secret_version Any
    The version of the secret in Azure Key Vault. The default value is the latest version of the secret. Type: string (or Expression with resultType string).
    secretName Any
    The name of the secret in Azure Key Vault. Type: string (or Expression with resultType string).
    store Property Map
    The Azure Key Vault linked service reference.
    secretVersion Any
    The version of the secret in Azure Key Vault. The default value is the latest version of the secret. Type: string (or Expression with resultType string).

    LinkedServiceReferenceResponse

    ReferenceName string
    Reference LinkedService name.
    Type string
    Linked service reference type.
    Parameters object
    Arguments for LinkedService.
    ReferenceName string
    Reference LinkedService name.
    Type string
    Linked service reference type.
    Parameters interface{}
    Arguments for LinkedService.
    reference_name string
    Reference LinkedService name.
    type string
    Linked service reference type.
    parameters any
    Arguments for LinkedService.
    referenceName String
    Reference LinkedService name.
    type String
    Linked service reference type.
    parameters Object
    Arguments for LinkedService.
    referenceName string
    Reference LinkedService name.
    type string
    Linked service reference type.
    parameters any
    Arguments for LinkedService.
    reference_name str
    Reference LinkedService name.
    type str
    Linked service reference type.
    parameters Any
    Arguments for LinkedService.
    referenceName String
    Reference LinkedService name.
    type String
    Linked service reference type.
    parameters Any
    Arguments for LinkedService.

    ManagedIdentityCredentialResponse

    Annotations List<object>
    List of tags that can be used for describing the Credential.
    Description string
    Credential description.
    ResourceId string
    The resource id of user assigned managed identity
    Annotations []interface{}
    List of tags that can be used for describing the Credential.
    Description string
    Credential description.
    ResourceId string
    The resource id of user assigned managed identity
    annotations list(any)
    List of tags that can be used for describing the Credential.
    description string
    Credential description.
    resource_id string
    The resource id of user assigned managed identity
    annotations List<Object>
    List of tags that can be used for describing the Credential.
    description String
    Credential description.
    resourceId String
    The resource id of user assigned managed identity
    annotations any[]
    List of tags that can be used for describing the Credential.
    description string
    Credential description.
    resourceId string
    The resource id of user assigned managed identity
    annotations Sequence[Any]
    List of tags that can be used for describing the Credential.
    description str
    Credential description.
    resource_id str
    The resource id of user assigned managed identity
    annotations List<Any>
    List of tags that can be used for describing the Credential.
    description String
    Credential description.
    resourceId String
    The resource id of user assigned managed identity

    ServicePrincipalCredentialResponse

    Annotations List<object>
    List of tags that can be used for describing the Credential.
    Description string
    Credential description.
    ServicePrincipalId object
    The app ID of the service principal used to authenticate
    ServicePrincipalKey Pulumi.AzureNative.DataFactory.Inputs.AzureKeyVaultSecretReferenceResponse
    The key of the service principal used to authenticate.
    Tenant object
    The ID of the tenant to which the service principal belongs
    Annotations []interface{}
    List of tags that can be used for describing the Credential.
    Description string
    Credential description.
    ServicePrincipalId interface{}
    The app ID of the service principal used to authenticate
    ServicePrincipalKey AzureKeyVaultSecretReferenceResponse
    The key of the service principal used to authenticate.
    Tenant interface{}
    The ID of the tenant to which the service principal belongs
    annotations list(any)
    List of tags that can be used for describing the Credential.
    description string
    Credential description.
    service_principal_id any
    The app ID of the service principal used to authenticate
    service_principal_key object
    The key of the service principal used to authenticate.
    tenant any
    The ID of the tenant to which the service principal belongs
    annotations List<Object>
    List of tags that can be used for describing the Credential.
    description String
    Credential description.
    servicePrincipalId Object
    The app ID of the service principal used to authenticate
    servicePrincipalKey AzureKeyVaultSecretReferenceResponse
    The key of the service principal used to authenticate.
    tenant Object
    The ID of the tenant to which the service principal belongs
    annotations any[]
    List of tags that can be used for describing the Credential.
    description string
    Credential description.
    servicePrincipalId any
    The app ID of the service principal used to authenticate
    servicePrincipalKey AzureKeyVaultSecretReferenceResponse
    The key of the service principal used to authenticate.
    tenant any
    The ID of the tenant to which the service principal belongs
    annotations Sequence[Any]
    List of tags that can be used for describing the Credential.
    description str
    Credential description.
    service_principal_id Any
    The app ID of the service principal used to authenticate
    service_principal_key AzureKeyVaultSecretReferenceResponse
    The key of the service principal used to authenticate.
    tenant Any
    The ID of the tenant to which the service principal belongs
    annotations List<Any>
    List of tags that can be used for describing the Credential.
    description String
    Credential description.
    servicePrincipalId Any
    The app ID of the service principal used to authenticate
    servicePrincipalKey Property Map
    The key of the service principal used to authenticate.
    tenant Any
    The ID of the tenant to which the service principal belongs

    SystemDataResponse

    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedBy string
    The identity that created the resource.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    The type of identity that last modified the resource.
    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedBy string
    The identity that created the resource.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    The type of identity that last modified the resource.
    created_at string
    The timestamp of resource creation (UTC).
    created_by string
    The identity that created the resource.
    created_by_type string
    The type of identity that created the resource.
    last_modified_at string
    The timestamp of resource last modification (UTC)
    last_modified_by string
    The identity that last modified the resource.
    last_modified_by_type string
    The type of identity that last modified the resource.
    createdAt String
    The timestamp of resource creation (UTC).
    createdBy String
    The identity that created the resource.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    The type of identity that last modified the resource.
    createdAt string
    The timestamp of resource creation (UTC).
    createdBy string
    The identity that created the resource.
    createdByType string
    The type of identity that created the resource.
    lastModifiedAt string
    The timestamp of resource last modification (UTC)
    lastModifiedBy string
    The identity that last modified the resource.
    lastModifiedByType string
    The type of identity that last modified the resource.
    created_at str
    The timestamp of resource creation (UTC).
    created_by str
    The identity that created the resource.
    created_by_type str
    The type of identity that created the resource.
    last_modified_at str
    The timestamp of resource last modification (UTC)
    last_modified_by str
    The identity that last modified the resource.
    last_modified_by_type str
    The type of identity that last modified the resource.
    createdAt String
    The timestamp of resource creation (UTC).
    createdBy String
    The identity that created the resource.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    The type of identity that last modified the resource.

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
    Viewing docs for Azure Native v3.23.0
    published on Saturday, Jul 18, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial