1. Registry
  2. Packages
  3. Cloudfoundry Provider
  4. API Docs
  5. getServiceCredentialBindingDetails
Viewing docs for cloudfoundry 1.19.0
published on Friday, Nov 13, 2026 by cloudfoundry
cloudfoundry
Viewing docs for cloudfoundry 1.19.0
published on Friday, Nov 13, 2026 by cloudfoundry

    Gets information on Service Credential Binding Details of a particular type (app or key) for a given service instance.

    Prefer this datasource over cloudfoundry.ServiceCredentialBinding, which will be deprecated going forward.

    If you want to fetch all credential bindings (both app and key types), use datasource cloudfoundry.getServiceCredentialBindings instead.

    Using getServiceCredentialBindingDetails

    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 getServiceCredentialBindingDetails(args: GetServiceCredentialBindingDetailsArgs, opts?: InvokeOptions): Promise<GetServiceCredentialBindingDetailsResult>
    function getServiceCredentialBindingDetailsOutput(args: GetServiceCredentialBindingDetailsOutputArgs, opts?: InvokeOutputOptions): Output<GetServiceCredentialBindingDetailsResult>
    def get_service_credential_binding_details(app: Optional[str] = None,
                                               name: Optional[str] = None,
                                               service_instance: Optional[str] = None,
                                               type: Optional[str] = None,
                                               opts: Optional[InvokeOptions] = None) -> GetServiceCredentialBindingDetailsResult
    def get_service_credential_binding_details_output(app: pulumi.Input[Optional[str]] = None,
                                               name: pulumi.Input[Optional[str]] = None,
                                               service_instance: pulumi.Input[Optional[str]] = None,
                                               type: pulumi.Input[Optional[str]] = None,
                                               opts: Optional[InvokeOutputOptions] = None) -> Output[GetServiceCredentialBindingDetailsResult]
    func GetServiceCredentialBindingDetails(ctx *Context, args *GetServiceCredentialBindingDetailsArgs, opts ...InvokeOption) (*GetServiceCredentialBindingDetailsResult, error)
    func GetServiceCredentialBindingDetailsOutput(ctx *Context, args *GetServiceCredentialBindingDetailsOutputArgs, opts ...InvokeOption) GetServiceCredentialBindingDetailsResultOutput

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

    public static class GetServiceCredentialBindingDetails 
    {
        public static Task<GetServiceCredentialBindingDetailsResult> InvokeAsync(GetServiceCredentialBindingDetailsArgs args, InvokeOptions? opts = null)
        public static Output<GetServiceCredentialBindingDetailsResult> Invoke(GetServiceCredentialBindingDetailsInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetServiceCredentialBindingDetailsResult> Invoke(GetServiceCredentialBindingDetailsInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetServiceCredentialBindingDetailsResult> getServiceCredentialBindingDetails(GetServiceCredentialBindingDetailsArgs args, InvokeOptions options)
    public static Output<GetServiceCredentialBindingDetailsResult> getServiceCredentialBindingDetails(GetServiceCredentialBindingDetailsArgs args, InvokeOptions options)
    public static Output<GetServiceCredentialBindingDetailsResult> getServiceCredentialBindingDetails(GetServiceCredentialBindingDetailsArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: cloudfoundry:index/getServiceCredentialBindingDetails:getServiceCredentialBindingDetails
      arguments:
        # arguments dictionary
    data "cloudfoundry_get_service_credential_binding_details" "name" {
        # arguments
    }

    The following arguments are supported:

    ServiceInstance string
    The GUID of the service instance
    Type string
    Type of the service credential binding
    App string
    The GUID of the app which is bound
    Name string
    Name of the service credential binding
    ServiceInstance string
    The GUID of the service instance
    Type string
    Type of the service credential binding
    App string
    The GUID of the app which is bound
    Name string
    Name of the service credential binding
    service_instance string
    The GUID of the service instance
    type string
    Type of the service credential binding
    app string
    The GUID of the app which is bound
    name string
    Name of the service credential binding
    serviceInstance String
    The GUID of the service instance
    type String
    Type of the service credential binding
    app String
    The GUID of the app which is bound
    name String
    Name of the service credential binding
    serviceInstance string
    The GUID of the service instance
    type string
    Type of the service credential binding
    app string
    The GUID of the app which is bound
    name string
    Name of the service credential binding
    service_instance str
    The GUID of the service instance
    type str
    Type of the service credential binding
    app str
    The GUID of the app which is bound
    name str
    Name of the service credential binding
    serviceInstance String
    The GUID of the service instance
    type String
    Type of the service credential binding
    app String
    The GUID of the app which is bound
    name String
    Name of the service credential binding

    getServiceCredentialBindingDetails Result

    The following output properties are available:

    Annotations Dictionary<string, string>
    The annotations associated with Cloud Foundry resources.
    CreatedAt string
    The date and time when the resource was created in RFC3339 format.
    CredentialBinding string
    The service credential binding details as JSON.
    Id string
    The GUID of the object.
    Labels Dictionary<string, string>
    The labels associated with Cloud Foundry resources.
    LastOperation GetServiceCredentialBindingDetailsLastOperation
    The details of the last operation performed on the resource
    Parameters string
    A JSON object that is passed to the service broker.
    ServiceInstance string
    The GUID of the service instance
    Type string
    Type of the service credential binding
    UpdatedAt string
    The date and time when the resource was updated in RFC3339 format.
    App string
    The GUID of the app which is bound
    Name string
    Name of the service credential binding
    Annotations map[string]string
    The annotations associated with Cloud Foundry resources.
    CreatedAt string
    The date and time when the resource was created in RFC3339 format.
    CredentialBinding string
    The service credential binding details as JSON.
    Id string
    The GUID of the object.
    Labels map[string]string
    The labels associated with Cloud Foundry resources.
    LastOperation GetServiceCredentialBindingDetailsLastOperation
    The details of the last operation performed on the resource
    Parameters string
    A JSON object that is passed to the service broker.
    ServiceInstance string
    The GUID of the service instance
    Type string
    Type of the service credential binding
    UpdatedAt string
    The date and time when the resource was updated in RFC3339 format.
    App string
    The GUID of the app which is bound
    Name string
    Name of the service credential binding
    annotations map(string)
    The annotations associated with Cloud Foundry resources.
    created_at string
    The date and time when the resource was created in RFC3339 format.
    credential_binding string
    The service credential binding details as JSON.
    id string
    The GUID of the object.
    labels map(string)
    The labels associated with Cloud Foundry resources.
    last_operation object
    The details of the last operation performed on the resource
    parameters string
    A JSON object that is passed to the service broker.
    service_instance string
    The GUID of the service instance
    type string
    Type of the service credential binding
    updated_at string
    The date and time when the resource was updated in RFC3339 format.
    app string
    The GUID of the app which is bound
    name string
    Name of the service credential binding
    annotations Map<String,String>
    The annotations associated with Cloud Foundry resources.
    createdAt String
    The date and time when the resource was created in RFC3339 format.
    credentialBinding String
    The service credential binding details as JSON.
    id String
    The GUID of the object.
    labels Map<String,String>
    The labels associated with Cloud Foundry resources.
    lastOperation GetServiceCredentialBindingDetailsLastOperation
    The details of the last operation performed on the resource
    parameters String
    A JSON object that is passed to the service broker.
    serviceInstance String
    The GUID of the service instance
    type String
    Type of the service credential binding
    updatedAt String
    The date and time when the resource was updated in RFC3339 format.
    app String
    The GUID of the app which is bound
    name String
    Name of the service credential binding
    annotations {[key: string]: string}
    The annotations associated with Cloud Foundry resources.
    createdAt string
    The date and time when the resource was created in RFC3339 format.
    credentialBinding string
    The service credential binding details as JSON.
    id string
    The GUID of the object.
    labels {[key: string]: string}
    The labels associated with Cloud Foundry resources.
    lastOperation GetServiceCredentialBindingDetailsLastOperation
    The details of the last operation performed on the resource
    parameters string
    A JSON object that is passed to the service broker.
    serviceInstance string
    The GUID of the service instance
    type string
    Type of the service credential binding
    updatedAt string
    The date and time when the resource was updated in RFC3339 format.
    app string
    The GUID of the app which is bound
    name string
    Name of the service credential binding
    annotations Mapping[str, str]
    The annotations associated with Cloud Foundry resources.
    created_at str
    The date and time when the resource was created in RFC3339 format.
    credential_binding str
    The service credential binding details as JSON.
    id str
    The GUID of the object.
    labels Mapping[str, str]
    The labels associated with Cloud Foundry resources.
    last_operation GetServiceCredentialBindingDetailsLastOperation
    The details of the last operation performed on the resource
    parameters str
    A JSON object that is passed to the service broker.
    service_instance str
    The GUID of the service instance
    type str
    Type of the service credential binding
    updated_at str
    The date and time when the resource was updated in RFC3339 format.
    app str
    The GUID of the app which is bound
    name str
    Name of the service credential binding
    annotations Map<String>
    The annotations associated with Cloud Foundry resources.
    createdAt String
    The date and time when the resource was created in RFC3339 format.
    credentialBinding String
    The service credential binding details as JSON.
    id String
    The GUID of the object.
    labels Map<String>
    The labels associated with Cloud Foundry resources.
    lastOperation Property Map
    The details of the last operation performed on the resource
    parameters String
    A JSON object that is passed to the service broker.
    serviceInstance String
    The GUID of the service instance
    type String
    Type of the service credential binding
    updatedAt String
    The date and time when the resource was updated in RFC3339 format.
    app String
    The GUID of the app which is bound
    name String
    Name of the service credential binding

    Supporting Types

    GetServiceCredentialBindingDetailsLastOperation

    CreatedAt string
    The time at which the last operation was created
    Description string
    A description of the last operation
    State string
    The state of the last operation
    Type string
    The type of the last operation
    UpdatedAt string
    The time at which the last operation was updated
    CreatedAt string
    The time at which the last operation was created
    Description string
    A description of the last operation
    State string
    The state of the last operation
    Type string
    The type of the last operation
    UpdatedAt string
    The time at which the last operation was updated
    created_at string
    The time at which the last operation was created
    description string
    A description of the last operation
    state string
    The state of the last operation
    type string
    The type of the last operation
    updated_at string
    The time at which the last operation was updated
    createdAt String
    The time at which the last operation was created
    description String
    A description of the last operation
    state String
    The state of the last operation
    type String
    The type of the last operation
    updatedAt String
    The time at which the last operation was updated
    createdAt string
    The time at which the last operation was created
    description string
    A description of the last operation
    state string
    The state of the last operation
    type string
    The type of the last operation
    updatedAt string
    The time at which the last operation was updated
    created_at str
    The time at which the last operation was created
    description str
    A description of the last operation
    state str
    The state of the last operation
    type str
    The type of the last operation
    updated_at str
    The time at which the last operation was updated
    createdAt String
    The time at which the last operation was created
    description String
    A description of the last operation
    state String
    The state of the last operation
    type String
    The type of the last operation
    updatedAt String
    The time at which the last operation was updated

    Package Details

    Repository
    cloudfoundry cloudfoundry/terraform-provider-cloudfoundry
    License
    Notes
    This Pulumi package is based on the cloudfoundry Terraform Provider.
    cloudfoundry
    Viewing docs for cloudfoundry 1.19.0
    published on Friday, Nov 13, 2026 by cloudfoundry

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial