published on Friday, Nov 13, 2026 by cloudfoundry
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 dictionarydata "cloudfoundry_get_service_credential_binding_details" "name" {
# arguments
}The following arguments are supported:
- 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
- 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
- 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
- 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
- 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
- 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
- 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
getServiceCredentialBindingDetails Result
The following output properties are available:
- Annotations Dictionary<string, 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 Dictionary<string, string>
- The labels associated with Cloud Foundry resources.
- Last
Operation GetService Credential Binding Details Last Operation - 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.
- 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]string
- The labels associated with Cloud Foundry resources.
- Last
Operation GetService Credential Binding Details Last Operation - 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)
- 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.
- 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,String>
- The labels associated with Cloud Foundry resources.
- last
Operation GetService Credential Binding Details Last Operation - 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 {[key: string]: 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 {[key: string]: string}
- The labels associated with Cloud Foundry resources.
- last
Operation GetService Credential Binding Details Last Operation - 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 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 GetService Credential Binding Details Last Operation - 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.
- 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 Property Map - 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
Supporting Types
GetServiceCredentialBindingDetailsLastOperation
- 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
- 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
- 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
- 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
- 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
- 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
- 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
Package Details
- Repository
- cloudfoundry cloudfoundry/terraform-provider-cloudfoundry
- License
- Notes
- This Pulumi package is based on the
cloudfoundryTerraform Provider.
published on Friday, Nov 13, 2026 by cloudfoundry