Share via


ContainerOpenSSLCertificateFile Class

Definition

Represents an OpenSSL public certificate in the container file system. Must be PEM encoded. An OpenSSL compatible symlink pointing to the destination file will be created in the same container folder as the certificate file named [subject hash].[n], where [n] is a sequence number that increases for each certificate in a target folder with the same subject hash.

public sealed class ContainerOpenSSLCertificateFile : Aspire.Hosting.ApplicationModel.ContainerFileBase
type ContainerOpenSSLCertificateFile = class
    inherit ContainerFileBase
Public NotInheritable Class ContainerOpenSSLCertificateFile
Inherits ContainerFileBase
Inheritance
ContainerOpenSSLCertificateFile

Constructors

ContainerOpenSSLCertificateFile()

Properties

Contents

The contents of the file. Setting Contents is mutually exclusive with SourcePath. If both are set, an exception will be thrown.

(Inherited from ContainerFileBase)
Group

The GID of the group of the file or directory. If set to null, the GID will be inherited from the parent directory or defaults.

(Inherited from ContainerFileSystemItem)
Mode

The permissions of the file or directory. If set to 0, the permissions will be inherited from the parent directory or defaults.

(Inherited from ContainerFileSystemItem)
Name

The name of the file or directory. Must be a simple file or folder name and not include any path separators (eg, / or ). To specify parent folders, use one or more ContainerDirectory entries.

(Inherited from ContainerFileSystemItem)
Owner

The UID of the owner of the file or directory. If set to null, the UID will be inherited from the parent directory or defaults.

(Inherited from ContainerFileSystemItem)
SourcePath

The path to a file on the host system to copy into the container. This path must be absolute and point to a file on the host system. Setting SourcePath is mutually exclusive with Contents. If both are set, an exception will be thrown.

(Inherited from ContainerFileBase)

Applies to