oci_fleet_apps_management_fleet_credential

This resource provides the Fleet Credential resource in Oracle Cloud Infrastructure Fleet Apps Management service.

Creates a new FleetCredential.

Example Usage

resource "oci_fleet_apps_management_fleet_credential" "test_fleet_credential" {
	#Required
	compartment_id = var.compartment_id
	display_name = var.fleet_credential_display_name
	entity_specifics {
		#Required
		credential_level = var.fleet_credential_entity_specifics_credential_level
		resource_id = oci_cloud_guard_resource.test_resource.id
		target = var.fleet_credential_entity_specifics_target
	}
	fleet_id = oci_fleet_apps_management_fleet.test_fleet.id
	password {
		#Required
		credential_type = var.fleet_credential_password_credential_type

		#Optional
		key_id = oci_kms_key.test_key.id
		key_version = var.fleet_credential_password_key_version
		secret_id = oci_vault_secret.test_secret.id
		secret_version = var.fleet_credential_password_secret_version
		value = var.fleet_credential_password_value
		vault_id = oci_kms_vault.test_vault.id
	}
	user {
		#Required
		credential_type = var.fleet_credential_user_credential_type

		#Optional
		key_id = oci_kms_key.test_key.id
		key_version = var.fleet_credential_user_key_version
		secret_id = oci_vault_secret.test_secret.id
		secret_version = var.fleet_credential_user_secret_version
		value = var.fleet_credential_user_value
		vault_id = oci_kms_vault.test_vault.id
	}
}

Argument Reference

The following arguments are supported:

** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

Attributes Reference

The following attributes are exported:

Timeouts

The timeouts block allows you to specify timeouts for certain operations: * create - (Defaults to 20 minutes), when creating the Fleet Credential * update - (Defaults to 20 minutes), when updating the Fleet Credential * delete - (Defaults to 20 minutes), when destroying the Fleet Credential

Import

Import is not supported for this resource.