Mondoo Docs

Private key resource

privatekey MQL resource for querying Operating System infrastructure with cnquery and cnspec.

Operating System

Private key resource

Use MQL in cnspec shell or policy:

privatekey
Min version: 5.15.0

Relationships

Mini Map
Operating System
1 resources · 0 relationshipsClick to select, expand fields to see properties.

Fields (4)

FieldTypeDescription
encryptedrequired
intWhether the file is encrypted
filerequired
fileFile on disk for this private key
pathrequired
stringDeprecated; use file instead
pemrequired
stringPEM data