Skip to content

Support custom target_user (#7)#8

Merged
deric merged 2 commits into
mainfrom
target
Aug 15, 2025
Merged

Support custom target_user (#7)#8
deric merged 2 commits into
mainfrom
target

Conversation

@deric

@deric deric commented Aug 15, 2025

Copy link
Copy Markdown
Owner

Support storing exported key under different account than it was generated from:

pubkey::ssh { 'alice_ed25519':
  target_user => 'bob',
  tags        => ['users'],
}

will read public ssh key from /home/alice/.ssh/id_ed25519.pub and store it to /home/bob/.ssh/authorized_keys on node where the resource is imported:

Ssh_authorized_key <<| tag == 'users' |>>

@deric deric merged commit 6342442 into main Aug 15, 2025
12 checks passed
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.

1 participant