Oracle Cloud Infrastructure v3.11.0 published on Thursday, Nov 13, 2025 by Pulumi
oci.FleetAppsManagement.getFleetCredential
Oracle Cloud Infrastructure v3.11.0 published on Thursday, Nov 13, 2025 by Pulumi
This data source provides details about a specific Fleet Credential resource in Oracle Cloud Infrastructure Fleet Apps Management service.
Gets a fleet credential by identifier.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testFleetCredential = oci.FleetAppsManagement.getFleetCredential({
fleetCredentialId: testFleetCredentialOciFleetAppsManagementFleetCredential.id,
fleetId: testFleet.id,
});
import pulumi
import pulumi_oci as oci
test_fleet_credential = oci.FleetAppsManagement.get_fleet_credential(fleet_credential_id=test_fleet_credential_oci_fleet_apps_management_fleet_credential["id"],
fleet_id=test_fleet["id"])
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v3/go/oci/fleetappsmanagement"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := fleetappsmanagement.GetFleetCredential(ctx, &fleetappsmanagement.GetFleetCredentialArgs{
FleetCredentialId: testFleetCredentialOciFleetAppsManagementFleetCredential.Id,
FleetId: testFleet.Id,
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() =>
{
var testFleetCredential = Oci.FleetAppsManagement.GetFleetCredential.Invoke(new()
{
FleetCredentialId = testFleetCredentialOciFleetAppsManagementFleetCredential.Id,
FleetId = testFleet.Id,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.FleetAppsManagement.FleetAppsManagementFunctions;
import com.pulumi.oci.FleetAppsManagement.inputs.GetFleetCredentialArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var testFleetCredential = FleetAppsManagementFunctions.getFleetCredential(GetFleetCredentialArgs.builder()
.fleetCredentialId(testFleetCredentialOciFleetAppsManagementFleetCredential.id())
.fleetId(testFleet.id())
.build());
}
}
variables:
testFleetCredential:
fn::invoke:
function: oci:FleetAppsManagement:getFleetCredential
arguments:
fleetCredentialId: ${testFleetCredentialOciFleetAppsManagementFleetCredential.id}
fleetId: ${testFleet.id}
Using getFleetCredential
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 getFleetCredential(args: GetFleetCredentialArgs, opts?: InvokeOptions): Promise<GetFleetCredentialResult>
function getFleetCredentialOutput(args: GetFleetCredentialOutputArgs, opts?: InvokeOptions): Output<GetFleetCredentialResult>def get_fleet_credential(fleet_credential_id: Optional[str] = None,
fleet_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetFleetCredentialResult
def get_fleet_credential_output(fleet_credential_id: Optional[pulumi.Input[str]] = None,
fleet_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetFleetCredentialResult]func LookupFleetCredential(ctx *Context, args *LookupFleetCredentialArgs, opts ...InvokeOption) (*LookupFleetCredentialResult, error)
func LookupFleetCredentialOutput(ctx *Context, args *LookupFleetCredentialOutputArgs, opts ...InvokeOption) LookupFleetCredentialResultOutput> Note: This function is named LookupFleetCredential in the Go SDK.
public static class GetFleetCredential
{
public static Task<GetFleetCredentialResult> InvokeAsync(GetFleetCredentialArgs args, InvokeOptions? opts = null)
public static Output<GetFleetCredentialResult> Invoke(GetFleetCredentialInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetFleetCredentialResult> getFleetCredential(GetFleetCredentialArgs args, InvokeOptions options)
public static Output<GetFleetCredentialResult> getFleetCredential(GetFleetCredentialArgs args, InvokeOptions options)
fn::invoke:
function: oci:FleetAppsManagement/getFleetCredential:getFleetCredential
arguments:
# arguments dictionaryThe following arguments are supported:
- Fleet
Credential stringId - unique FleetCredential identifier
- Fleet
Id string - Unique Fleet identifier.
- Fleet
Credential stringId - unique FleetCredential identifier
- Fleet
Id string - Unique Fleet identifier.
- fleet
Credential StringId - unique FleetCredential identifier
- fleet
Id String - Unique Fleet identifier.
- fleet
Credential stringId - unique FleetCredential identifier
- fleet
Id string - Unique Fleet identifier.
- fleet_
credential_ strid - unique FleetCredential identifier
- fleet_
id str - Unique Fleet identifier.
- fleet
Credential StringId - unique FleetCredential identifier
- fleet
Id String - Unique Fleet identifier.
getFleetCredential Result
The following output properties are available:
- Compartment
Id string - Compartment OCID
- Display
Name string - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example:
My new resource - Entity
Specifics List<GetFleet Credential Entity Specific> - Credential specific Details.
- Fleet
Credential stringId - Fleet
Id string - Id string
- The unique id of the resource.
- Lifecycle
Details string - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- Passwords
List<Get
Fleet Credential Password> - Credential Details.
- State string
- The current state of the FleetCredential.
- Dictionary<string, string>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - Time
Created string - The time this resource was created. An RFC3339 formatted datetime string.
- Time
Updated string - The time this resource was last updated. An RFC3339 formatted datetime string.
- Users
List<Get
Fleet Credential User> - Credential Details.
- Compartment
Id string - Compartment OCID
- Display
Name string - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example:
My new resource - Entity
Specifics []GetFleet Credential Entity Specific - Credential specific Details.
- Fleet
Credential stringId - Fleet
Id string - Id string
- The unique id of the resource.
- Lifecycle
Details string - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- Passwords
[]Get
Fleet Credential Password - Credential Details.
- State string
- The current state of the FleetCredential.
- map[string]string
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - Time
Created string - The time this resource was created. An RFC3339 formatted datetime string.
- Time
Updated string - The time this resource was last updated. An RFC3339 formatted datetime string.
- Users
[]Get
Fleet Credential User - Credential Details.
- compartment
Id String - Compartment OCID
- display
Name String - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example:
My new resource - entity
Specifics List<GetFleet Credential Entity Specific> - Credential specific Details.
- fleet
Credential StringId - fleet
Id String - id String
- The unique id of the resource.
- lifecycle
Details String - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- passwords
List<Get
Fleet Credential Password> - Credential Details.
- state String
- The current state of the FleetCredential.
- Map<String,String>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - time
Created String - The time this resource was created. An RFC3339 formatted datetime string.
- time
Updated String - The time this resource was last updated. An RFC3339 formatted datetime string.
- users
List<Get
Fleet Credential User> - Credential Details.
- compartment
Id string - Compartment OCID
- display
Name string - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example:
My new resource - entity
Specifics GetFleet Credential Entity Specific[] - Credential specific Details.
- fleet
Credential stringId - fleet
Id string - id string
- The unique id of the resource.
- lifecycle
Details string - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- passwords
Get
Fleet Credential Password[] - Credential Details.
- state string
- The current state of the FleetCredential.
- {[key: string]: string}
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - time
Created string - The time this resource was created. An RFC3339 formatted datetime string.
- time
Updated string - The time this resource was last updated. An RFC3339 formatted datetime string.
- users
Get
Fleet Credential User[] - Credential Details.
- compartment_
id str - Compartment OCID
- display_
name str - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example:
My new resource - entity_
specifics Sequence[GetFleet Credential Entity Specific] - Credential specific Details.
- fleet_
credential_ strid - fleet_
id str - id str
- The unique id of the resource.
- lifecycle_
details str - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- passwords
Sequence[Get
Fleet Credential Password] - Credential Details.
- state str
- The current state of the FleetCredential.
- Mapping[str, str]
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - time_
created str - The time this resource was created. An RFC3339 formatted datetime string.
- time_
updated str - The time this resource was last updated. An RFC3339 formatted datetime string.
- users
Sequence[Get
Fleet Credential User] - Credential Details.
- compartment
Id String - Compartment OCID
- display
Name String - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example:
My new resource - entity
Specifics List<Property Map> - Credential specific Details.
- fleet
Credential StringId - fleet
Id String - id String
- The unique id of the resource.
- lifecycle
Details String - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- passwords List<Property Map>
- Credential Details.
- state String
- The current state of the FleetCredential.
- Map<String>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - time
Created String - The time this resource was created. An RFC3339 formatted datetime string.
- time
Updated String - The time this resource was last updated. An RFC3339 formatted datetime string.
- users List<Property Map>
- Credential Details.
Supporting Types
GetFleetCredentialEntitySpecific
- Credential
Level string - At what level the credential is provided?
- Resource
Id string - OCID of the resource associated with the target for which the credential is created.
- Target string
- Target name for which the credential is provided.
- Variables
List<Get
Fleet Credential Entity Specific Variable> - List of fleet credential variables.
- Credential
Level string - At what level the credential is provided?
- Resource
Id string - OCID of the resource associated with the target for which the credential is created.
- Target string
- Target name for which the credential is provided.
- Variables
[]Get
Fleet Credential Entity Specific Variable - List of fleet credential variables.
- credential
Level String - At what level the credential is provided?
- resource
Id String - OCID of the resource associated with the target for which the credential is created.
- target String
- Target name for which the credential is provided.
- variables
List<Get
Fleet Credential Entity Specific Variable> - List of fleet credential variables.
- credential
Level string - At what level the credential is provided?
- resource
Id string - OCID of the resource associated with the target for which the credential is created.
- target string
- Target name for which the credential is provided.
- variables
Get
Fleet Credential Entity Specific Variable[] - List of fleet credential variables.
- credential_
level str - At what level the credential is provided?
- resource_
id str - OCID of the resource associated with the target for which the credential is created.
- target str
- Target name for which the credential is provided.
- variables
Sequence[Get
Fleet Credential Entity Specific Variable] - List of fleet credential variables.
- credential
Level String - At what level the credential is provided?
- resource
Id String - OCID of the resource associated with the target for which the credential is created.
- target String
- Target name for which the credential is provided.
- variables List<Property Map>
- List of fleet credential variables.
GetFleetCredentialEntitySpecificVariable
GetFleetCredentialPassword
- Credential
Type string - Credential Type.
- Key
Id string - OCID for the Vault Key that will be used to encrypt/decrypt the value given.
- Key
Version string - The Vault Key version.
- Secret
Id string - The OCID of the secret.
- Secret
Version string - The secret version.
- Value string
- The value corresponding to the credential.
- Vault
Id string - OCID for the Vault that will be used to fetch the key to encrypt/decrypt the value given.
- Credential
Type string - Credential Type.
- Key
Id string - OCID for the Vault Key that will be used to encrypt/decrypt the value given.
- Key
Version string - The Vault Key version.
- Secret
Id string - The OCID of the secret.
- Secret
Version string - The secret version.
- Value string
- The value corresponding to the credential.
- Vault
Id string - OCID for the Vault that will be used to fetch the key to encrypt/decrypt the value given.
- credential
Type String - Credential Type.
- key
Id String - OCID for the Vault Key that will be used to encrypt/decrypt the value given.
- key
Version String - The Vault Key version.
- secret
Id String - The OCID of the secret.
- secret
Version String - The secret version.
- value String
- The value corresponding to the credential.
- vault
Id String - OCID for the Vault that will be used to fetch the key to encrypt/decrypt the value given.
- credential
Type string - Credential Type.
- key
Id string - OCID for the Vault Key that will be used to encrypt/decrypt the value given.
- key
Version string - The Vault Key version.
- secret
Id string - The OCID of the secret.
- secret
Version string - The secret version.
- value string
- The value corresponding to the credential.
- vault
Id string - OCID for the Vault that will be used to fetch the key to encrypt/decrypt the value given.
- credential_
type str - Credential Type.
- key_
id str - OCID for the Vault Key that will be used to encrypt/decrypt the value given.
- key_
version str - The Vault Key version.
- secret_
id str - The OCID of the secret.
- secret_
version str - The secret version.
- value str
- The value corresponding to the credential.
- vault_
id str - OCID for the Vault that will be used to fetch the key to encrypt/decrypt the value given.
- credential
Type String - Credential Type.
- key
Id String - OCID for the Vault Key that will be used to encrypt/decrypt the value given.
- key
Version String - The Vault Key version.
- secret
Id String - The OCID of the secret.
- secret
Version String - The secret version.
- value String
- The value corresponding to the credential.
- vault
Id String - OCID for the Vault that will be used to fetch the key to encrypt/decrypt the value given.
GetFleetCredentialUser
- Credential
Type string - Credential Type.
- Key
Id string - OCID for the Vault Key that will be used to encrypt/decrypt the value given.
- Key
Version string - The Vault Key version.
- Secret
Id string - The OCID of the secret.
- Secret
Version string - The secret version.
- Value string
- The value corresponding to the credential.
- Vault
Id string - OCID for the Vault that will be used to fetch the key to encrypt/decrypt the value given.
- Credential
Type string - Credential Type.
- Key
Id string - OCID for the Vault Key that will be used to encrypt/decrypt the value given.
- Key
Version string - The Vault Key version.
- Secret
Id string - The OCID of the secret.
- Secret
Version string - The secret version.
- Value string
- The value corresponding to the credential.
- Vault
Id string - OCID for the Vault that will be used to fetch the key to encrypt/decrypt the value given.
- credential
Type String - Credential Type.
- key
Id String - OCID for the Vault Key that will be used to encrypt/decrypt the value given.
- key
Version String - The Vault Key version.
- secret
Id String - The OCID of the secret.
- secret
Version String - The secret version.
- value String
- The value corresponding to the credential.
- vault
Id String - OCID for the Vault that will be used to fetch the key to encrypt/decrypt the value given.
- credential
Type string - Credential Type.
- key
Id string - OCID for the Vault Key that will be used to encrypt/decrypt the value given.
- key
Version string - The Vault Key version.
- secret
Id string - The OCID of the secret.
- secret
Version string - The secret version.
- value string
- The value corresponding to the credential.
- vault
Id string - OCID for the Vault that will be used to fetch the key to encrypt/decrypt the value given.
- credential_
type str - Credential Type.
- key_
id str - OCID for the Vault Key that will be used to encrypt/decrypt the value given.
- key_
version str - The Vault Key version.
- secret_
id str - The OCID of the secret.
- secret_
version str - The secret version.
- value str
- The value corresponding to the credential.
- vault_
id str - OCID for the Vault that will be used to fetch the key to encrypt/decrypt the value given.
- credential
Type String - Credential Type.
- key
Id String - OCID for the Vault Key that will be used to encrypt/decrypt the value given.
- key
Version String - The Vault Key version.
- secret
Id String - The OCID of the secret.
- secret
Version String - The secret version.
- value String
- The value corresponding to the credential.
- vault
Id String - OCID for the Vault that will be used to fetch the key to encrypt/decrypt the value given.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
ociTerraform Provider.
Oracle Cloud Infrastructure v3.11.0 published on Thursday, Nov 13, 2025 by Pulumi
