Skip to content

Auto-Generate SSH Key when one isn't provided #198

Description

@iancward

The kitchen-ec2 driver provides the capability to auto-generate an SSH key when one is not provided; it would be good if this driver could do the same.
The primary purpose of this is to use test kitchen in a CI/CD environment where the runners are shared and we don't have a way to provide a private key on disk.

It looks like the openstack API has a method to create SSH keys, so I imagine this would be technically feasible.
https://developer.openstack.org/api-ref/compute/?expanded=create-or-import-keypair-detail#keypairs-keypairs

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions