[GH-ISSUE #257] Auto-Generate SSH Key Name if Not Provided #170

Closed
opened 2026-03-03 11:13:33 +03:00 by kerem · 0 comments
Owner

Originally created by @charanm927 on GitHub (Jun 23, 2025).
Original GitHub issue: https://github.com/dflow-sh/dflow/issues/257

Originally assigned to: @charanm927 on GitHub.

Enhance the SSH key creation logic by auto-generating a key name only if the user does not explicitly provide one. Preferably use the associated server name as the base for the generated key name.

Acceptance Criteria:

  • If the user leaves the SSH key name field empty:
    • Automatically assign a name in the format: -key
    • Ensure the generated name is valid (no spaces or special characters; use dashes or lowercase).
  • If a key with that name already exists, append a numeric suffix or hash (e.g., -key-2).
  • If the user manually enters a name, do not override it.

Notes:

  • Helps maintain a clean and user-friendly workflow during server creation or key assignment.
  • Applies to both UI and API-level validations.
Originally created by @charanm927 on GitHub (Jun 23, 2025). Original GitHub issue: https://github.com/dflow-sh/dflow/issues/257 Originally assigned to: @charanm927 on GitHub. Enhance the SSH key creation logic by auto-generating a key name only if the user does not explicitly provide one. Preferably use the associated server name as the base for the generated key name. Acceptance Criteria: - If the user leaves the SSH key name field empty: - Automatically assign a name in the format: <server-name>-key - Ensure the generated name is valid (no spaces or special characters; use dashes or lowercase). - If a key with that name already exists, append a numeric suffix or hash (e.g., -key-2). - If the user manually enters a name, do not override it. Notes: - Helps maintain a clean and user-friendly workflow during server creation or key assignment. - Applies to both UI and API-level validations.
kerem closed this issue 2026-03-03 11:13:33 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/dflow#170
No description provided.