FrankHeijden
Explore posts from serversCDCloudflare Developers
•Created by FrankHeijden on 11/13/2023 in #general-help
CF Access get an Application Token from a Service Token
I am looking for a way to convert the Service Token into an Application Token, which is required to sign the short lived certificate for ssh access. I found this:
https://developers.cloudflare.com/cloudflare-one/identity/service-tokens/#connect-your-service-to-access
but this doesn't specify which endpoint I could call in the case of an SSH application.
Ideally, I'd like to supply the clientId and clientSecret to
cloudflared access ssh-gen
directly, but there does not seem such flags, and by looking at the code an application token is required. There's also a related issue on this topic on github: https://github.com/cloudflare/cloudflared/issues/10561 replies