ContainerFileSystemCallbackContext.createCertificateFile
Method
interface ContainerFileSystemCallbackContext { // ... omitted for brevity createCertificateFile( name: string, contents?: string, sourcePath?: string, owner?: number, group?: number, mode?: number, continueOnError?: boolean): ContainerFileSystemItem;}Signature
method
createCertificateFile Creates a PEM container certificate file entry with the OpenSSL subject-hash symlink.
createCertificateFile( name: string, contents?: string, sourcePath?: string, owner?: number, group?: number, mode?: number, continueOnError?: boolean): ContainerFileSystemItemParameters
namestringThe simple file name (no path separators).contentsstringoptionalThe inline PEM-encoded contents of the certificate. Mutually exclusive with `sourcePath`.sourcePath stringoptionalAn absolute path to a PEM file on the host to copy. Mutually exclusive with `contents`.ownernumberoptionalThe owner UID, or `null` to inherit.groupnumberoptionalThe group GID, or `null` to inherit.modenumberoptionalThe Unix file mode as an integer (for example `0o644`), or `null` to inherit.continueOnError booleanoptionalWhether to ignore errors creating this file.Returns
ContainerFileSystemItem Defined on
This method is defined on the following type: