keychaincredential.generate_ssh_key_pair
========================================

Generate a public/private key pair (useful for `SSH_KEY_PAIR` type)

.. examples(websocket)::

    :::javascript {
        "id": "6841f242-840a-11e6-a437-00e04d680384", "msg": "method", "method": "keychaincredential.generate_ssh_key_pair", "params": [] }

.. raw:: html

    <div id="json-schema">
    <span class="badge badge-dark value-type">Type: object</span><br/>
    <div class="accordion" id="accordionCall_parameters">
    <div class="card">
    <div class="card-header" id="headingCall_parameters">
    <h2 class="mb-0">
    <button aria-controls="Call_parameters" aria-expanded="" class="btn btn-link property-name-button" data-target="#Call_parameters" data-toggle="collapse" onclick="setAnchor('#Call_parameters')" type="button"><span class="property-name">Call parameters</span></button>
    </h2>
    </div>
    <div aria-labelledby="headingCall_parameters" class="collapse property-definition-div" data-parent="#accordionCall_parameters" id="Call_parameters">
    <div class="card-body pl-5">
    <span class="badge badge-dark value-type">Type: array</span><br/>
    <span class="badge badge-info no-additional">No Additional Items</span>
    </div>
    </div>
    </div>
    </div>
    <div class="accordion" id="accordionReturn_value">
    <div class="card">
    <div class="card-header" id="headingReturn_value">
    <h2 class="mb-0">
    <button aria-controls="Return_value" aria-expanded="" class="btn btn-link property-name-button" data-target="#Return_value" data-toggle="collapse" onclick="setAnchor('#Return_value')" type="button"><span class="property-name">Return value</span></button>
    </h2>
    </div>
    <div aria-labelledby="headingReturn_value" class="collapse property-definition-div" data-parent="#accordionReturn_value" id="Return_value">
    <div class="card-body pl-5">
    <h4>KeychainCredentialGenerateSshKeyPairResult</h4><span class="badge badge-dark value-type">Type: object</span><br/>
    <span class="description"><p>KeychainCredentialGenerateSshKeyPairResult return fields.</p>
    </span> <span class="badge badge-info no-additional">No Additional Properties</span>
    <div class="accordion" id="accordionReturn_value_private_key">
    <div class="card">
    <div class="card-header" id="headingReturn_value_private_key">
    <h2 class="mb-0">
    <button aria-controls="Return_value_private_key" aria-expanded="" class="btn btn-link property-name-button" data-target="#Return_value_private_key" data-toggle="collapse" onclick="setAnchor('#Return_value_private_key')" type="button"><span class="property-name">private_key</span> <span class="badge badge-warning required-property">Required</span></button>
    </h2>
    </div>
    <div aria-labelledby="headingReturn_value_private_key" class="collapse property-definition-div" data-parent="#accordionReturn_value_private_key" id="Return_value_private_key">
    <div class="card-body pl-5">
    <h4>Private Key</h4><span class="badge badge-dark value-type">Type: string</span><br/>
    <span class="description"><p>Generated SSH private key in PEM format.</p>
    </span>
    </div>
    </div>
    </div>
    </div>
    <div class="accordion" id="accordionReturn_value_public_key">
    <div class="card">
    <div class="card-header" id="headingReturn_value_public_key">
    <h2 class="mb-0">
    <button aria-controls="Return_value_public_key" aria-expanded="" class="btn btn-link property-name-button" data-target="#Return_value_public_key" data-toggle="collapse" onclick="setAnchor('#Return_value_public_key')" type="button"><span class="property-name">public_key</span> <span class="badge badge-warning required-property">Required</span></button>
    </h2>
    </div>
    <div aria-labelledby="headingReturn_value_public_key" class="collapse property-definition-div" data-parent="#accordionReturn_value_public_key" id="Return_value_public_key">
    <div class="card-body pl-5">
    <h4>Public Key</h4><span class="badge badge-dark value-type">Type: string</span><br/>
    <span class="description"><p>Generated SSH public key in OpenSSH format.</p>
    </span>
    </div>
    </div>
    </div>
    </div>
    </div>
    </div>
    </div>
    </div>
    </div><br><br>

*Required roles:* KEYCHAIN_CREDENTIAL_WRITE

