TaskSpecContainerSpecPrivilegesCredentialSpec

@Serializable
data class TaskSpecContainerSpecPrivilegesCredentialSpec(val config: String? = null, val file: String? = null, val registry: String? = null)

CredentialSpec for managed service account (Windows only)

Parameters

config

Load credential spec from a Swarm Config with the given ID. The specified config must also be present in the Configs field with the Runtime property set.


>Note: CredentialSpec.File, CredentialSpec.Registry, > and CredentialSpec.Config are mutually exclusive.

file

Load credential spec from this file. The file is read by the daemon, and must be present in the CredentialSpecs subdirectory in the docker data directory, which defaults to C:\\ProgramData\\Docker\\ on Windows. For example, specifying spec.json loads C:\\ProgramData\\Docker\\CredentialSpecs\\spec.json.


>Note: CredentialSpec.File, CredentialSpec.Registry, > and CredentialSpec.Config are mutually exclusive.

registry

Load credential spec from this value in the Windows registry. The specified registry value must be located in: HKLM\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Virtualization\\Containers\\CredentialSpecs


>Note: CredentialSpec.File, CredentialSpec.Registry, > and CredentialSpec.Config are mutually exclusive.

Constructors

constructor(config: String? = null, file: String? = null, registry: String? = null)

Properties

Link copied to clipboard
@SerialName(value = "Config")
val config: String?
Link copied to clipboard
@SerialName(value = "File")
val file: String?
Link copied to clipboard
@SerialName(value = "Registry")
val registry: String?