Skip to content

Improve access credential documentation #779

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

brandboat
Copy link
Member

Problem:

The Access Credentials in VM page only takes effect when the user exist, but currently the doc doesn't mention that.

Solution:

Improve the doc

Related Issue(s):

Test plan:

Additional documentation or context

@Copilot Copilot AI review requested due to automatic review settings May 8, 2025 09:18
@brandboat brandboat self-assigned this May 8, 2025
@github-actions github-actions bot requested a review from jillian-maroket May 8, 2025 09:19
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR improves the access credential documentation in the VM pages by clarifying that the user must exist before the access credentials will take effect.

  • Added a note to specify that credentials only take effect if the associated user already exists.
  • Updated documentation in versioned_docs for versions v1.5 and v1.4, as well as in the main docs directory.

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
versioned_docs/version-v1.5/vm/access-to-the-vm.md Added note on user existence requirement for credential activation
versioned_docs/version-v1.4/vm/access-to-the-vm.md Same note update to clarify credentials behavior
docs/vm/access-to-the-vm.md Updated note for consistency regarding pre-existing user requirement
Comments suppressed due to low confidence (1)

docs/vm/access-to-the-vm.md:72

  • This update strengthens the documentation by clarifying credential applicability; verify that similar notes in other parts of the documentation maintain the same terminology.
The user to be added must already exist; otherwise, the credentials will not take effect.

@brandboat brandboat requested a review from w13915984028 May 8, 2025 09:19
Copy link

github-actions bot commented May 8, 2025

Name Link
🔨 Latest commit 3a56c8d
😎 Deploy Preview https://6821a5872795857591b8038e--harvester-preview.netlify.app

@@ -69,6 +69,7 @@ You can inject your access credentials via the Harvester dashboard as below:
:::note

You need to enter the VM to edit password or remove SSH-Key after deleting the credentials from the UI.
The user to be added must already exist; otherwise, the credentials will not take effect.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What do you think of combining this with bullet point 3 above?

  1. Click to add either basic auth credentials or ssh keys. The user to be added must already exist in the guest OS. E.g., if using OpenSUSE, add opensuse as the user and select your ssh keys.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sounds great! Thanks for the comment!

w13915984028
w13915984028 previously approved these changes May 9, 2025
Copy link
Member

@w13915984028 w13915984028 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks.

ihcsim
ihcsim previously approved these changes May 9, 2025
Copy link
Contributor

@jillian-maroket jillian-maroket left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review done

@@ -63,7 +63,7 @@ You can inject your access credentials via the Harvester dashboard as below:

1. Select the VM and click `⋮` button.
2. Click the `Edit Config` button and go to the `Access Credentials` tab.
3. Click to add either basic auth credentials or ssh keys, (e.g., add `opensuse` as the user and select your ssh keys if your guest OS is OpenSUSE).
3. Click to add either basic auth credentials or ssh keys. The user to be added must already exist in the guest OS. E.g., if using OpenSUSE, add `opensuse` as the user and select your ssh keys.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
3. Click to add either basic auth credentials or ssh keys. The user to be added must already exist in the guest OS. E.g., if using OpenSUSE, add `opensuse` as the user and select your ssh keys.
3. Add either basic authentication credentials or SSH keys.
You can only add a user that already exists in the guest operating system. For example, if you are using openSUSE, you can add the user `opensuse` and select SSH keys.

Signed-off-by: Cooper Tseng <cooper.tseng@suse.com>
@brandboat brandboat dismissed stale reviews from ihcsim and w13915984028 via 3a56c8d May 12, 2025 07:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants