ibmcloud.ansible_collection.ibm_compute_ssh_key_info (1.2.2) — module

Retrieve IBM Cloud 'ibm_compute_ssh_key' resource

| "added in version" 2.8 of ibmcloud.ansible_collection"

Authors: Jay Carman (@jaywcarman)

preview | supported by community

Install collection

Install with ansible-galaxy collection install ibmcloud.ansible_collection:==1.2.2


Add to requirements.yml

  collections:
    - name: ibmcloud.ansible_collection
      version: 1.2.2

Description

Retrieve an IBM Cloud 'ibm_compute_ssh_key' resource


Requirements

Inputs

    
label:
    description:
    - The label associated with the ssh key
    required: true
    type: str

notes:
    description:
    - A small note about a ssh key to use at your discretion
    required: false
    type: str

public_key:
    description:
    - The public ssh key
    required: false
    type: str

fingerprint:
    description:
    - A sequence of bytes to authenticate or lookup a longer ssh key
    required: false
    type: str

most_recent:
    default: false
    description:
    - If true and multiple entries are found, the most recently created key is used. If
      false, an error is returned
    required: false
    type: bool

ibmcloud_region:
    default: us-south
    description:
    - Denotes which IBM Cloud region to connect to
    required: false

ibmcloud_api_key:
    description:
    - The API Key used for authentification. This can also be provided via the environment
      variable 'IC_API_KEY'.
    required: true