You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Certainly, just add a get '/public-keys/0/openssh-key' sub { ... }; subroutine that outputs the key in the right format (text/plain, probably - most of the cloud-init data is). That should be enough for a bare-minimum simple case.
I'd have to read the docs on that to know whether there were more complicated options or other kinds of data available under/public-keys/, but I doubt that it would be difficult to add. No more difficult than providing data for the various /user-data/* requests was, and that wasn't very difficult at all.
It should even be possible to somehow share the keys with the user-data authkeys so that they only have to be added once.
Hey!
EC2 provides SSH keys through
/public-keys/0/openssh-key
. Is that possible to serve something similar with fakecloud?The text was updated successfully, but these errors were encountered: