Skip to content

Rework SSH Key param in instance create to be safer/more explicit #4919

@just-be-dev

Description

@just-be-dev

There were extensive conversations in #4764 about how to handle the default value of ssh_public_keys in instance create. The behavior implemented in #4764 is that during instance create if a user doesn't provide a value for ssh_public_keys then all their keys are transferred over (like the previous behavior). If they do provide a vec of keys, only those keys are transferred. If they provide an empty vec no keys are transferred.

There are many things to consider here. The security implications of implicitly transferring keys when that may not be the intended behavior, the user experience of requiring this field vs having it optional, the expected default behavior customers have for this functionality, etc.

We need to do some product discovery on what the proper solution is here and implement that for the next release.

Please see this thread for more context: #4764 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    apiRelated to the API.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions