Data Source: oci_fleet_apps_management_fleet_credentials
This data source provides the list of Fleet Credentials in Oracle Cloud Infrastructure Fleet Apps Management service.
List credentials associated with a fleet.
Example Usage
data "oci_fleet_apps_management_fleet_credentials" "test_fleet_credentials" {
	#Required
	fleet_id = oci_fleet_apps_management_fleet.test_fleet.id
	#Optional
	credential_level = var.fleet_credential_credential_level
	display_name = var.fleet_credential_display_name
	id = var.fleet_credential_id
	resource_id = oci_cloud_guard_resource.test_resource.id
	state = var.fleet_credential_state
	target = var.fleet_credential_target
}
Argument Reference
The following arguments are supported:
- credential_level- (Optional) A filter to return only resources whose credentialLevel matches the given credentialLevel.
- display_name- (Optional) A filter to return only resources that match the entire display name given.
- fleet_id- (Required) Unique Fleet identifier.
- id- (Optional) A filter to return only resources whose credential identifier matches the given identifier.
- resource_id- (Optional) Resource Identifier
- state- (Optional) A filter to return only resources whose lifecycleState matches the given lifecycleState.
- target- (Optional) A filter to return only resources whose target matches the given target name.
Attributes Reference
The following attributes are exported:
- fleet_credential_collection- The list of fleet_credential_collection.
FleetCredential Reference
The following attributes are exported:
- compartment_id- Compartment OCID
- display_name- A user-friendly name. Does not have to be unique, and it’s changeable. Avoid entering confidential information. Example:- My new resource
- entity_specifics- Credential specific Details.- credential_level- At what level the credential is provided?
- resource_id- OCID of the resource associated with the target for which the credential is created.
- target- Target name for which the credential is provided.
- variables- List of fleet credential variables.- name- Name of the variable.
- value- The value corresponding to the variable name.
 
 
- id- The unique id of the resource.
- lifecycle_details- A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- password- Credential Details.- credential_type- Credential Type.
- key_id- OCID for the Vault Key that will be used to encrypt/decrypt the value given.
- key_version- The Vault Key version.
- secret_id- The OCID of the secret.
- secret_version- The secret version.
- value- The value corresponding to the credential.
- vault_id- OCID for the Vault that will be used to fetch the key to encrypt/decrypt the value given.
 
- state- The current state of the FleetCredential.
- system_tags- System tags for this resource. Each key is predefined and scoped to a namespace. Example:- {"orcl-cloud.free-tier-retained": "true"}
- time_created- The time this resource was created. An RFC3339 formatted datetime string.
- time_updated- The time this resource was last updated. An RFC3339 formatted datetime string.
- user- Credential Details.- credential_type- Credential Type.
- key_id- OCID for the Vault Key that will be used to encrypt/decrypt the value given.
- key_version- The Vault Key version.
- secret_id- The OCID of the secret.
- secret_version- The secret version.
- value- The value corresponding to the credential.
- vault_id- OCID for the Vault that will be used to fetch the key to encrypt/decrypt the value given.