https://infracost.io logo
#help
Title
# help
g

gray-agency-55567

04/22/2023, 10:33 AM
Is it possible to authenticate github using
ssh key
for
infracost comment github
command?
l

little-author-61621

04/22/2023, 11:03 AM
It doesn't support this, it needs a GitHub token for authentication for commenting.
g

gray-agency-55567

04/22/2023, 11:58 AM
yeah, that’s what documentations says too. I was wondering if there is another way. Generating GitHub token is an overhead when all other GitHub operations are done using ssh key.
w

white-airport-8778

04/22/2023, 2:48 PM
@gray-agency-55567 As far as I know, the GH API doesn’t support ssh authentication, see their docs here. You can use the GitHub App if that’s too much overhead, that doesn’t need a token at all.
4 Views