igcv3 - v1.1.0
    Preparing search index...

    Function writePrivateKeyFile

    • Write a private key file with secure permissions (0o400). This function enforces restrictive permissions to prevent accidental exposure.

      Parameters

      • filePath: string

        Path to write the key file

      • content: string | Buffer

        Key content (PEM string or DER buffer)

      Returns void

      If directory cannot be created

      If file cannot be written