Skip to content

Commit

Permalink
Add Ssh Api methods to list of allowed requests signed with machine t…
Browse files Browse the repository at this point in the history
…oken

Signed-off-by: Igor Vinokur <ivinokur@redhat.com>
  • Loading branch information
vinokurig committed Sep 16, 2019
1 parent 4549d77 commit 945a770
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,9 @@ protected void configure() {
"stop"));
machineAuthenticatedResources
.addBinding()
.toInstance(new MachineAuthenticatedResource("/ssh", "getPair", "generatePair"));
.toInstance(
new MachineAuthenticatedResource(
"/ssh", "getPair", "generatePair", "createPair", "getPairs", "removePair"));
machineAuthenticatedResources
.addBinding()
.toInstance(
Expand Down

0 comments on commit 945a770

Please sign in to comment.