file

@SerialName(value = "File")
val file: String?

Parameters

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.