Skip to content

Add PEM format to the openssh_keypair module #724

Open
@Aalmain

Description

@Aalmain
SUMMARY

The ssh-keygen tool has the capability of creating ssh-keys in the PEM format. Although this is not a common format, there are instances where it is required

ISSUE TYPE

Add the "PEM" format to the lost of formats under "private_key_format" in the "community.crypto.openssh_keypair"

COMPONENT NAME

Module: community.crypto.openssh_keypair
Parameter: private_key_format

ADDITIONAL INFORMATION

This would allow a more standard process to create ssh keys in the PEM format. There are applications that require this format.

An example is the Yugabyte Anywhere control plain communication to the Yugabyte Anywhere database nodes for universe deployments and updates.

- name: Generate an OpenSSH keypair for Yugabyte 
  community.crypto.openssh_keypair:
    path: /home/yugabyte/.ssh/id_ssh_pem
    prvate_key_format: pem

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions