https://cerbos.dev logo
#help
Title
# help
n

Norberto Cáceres

06/06/2023, 7:37 PM
Hi, I am getting this "failed to clone" error when trying to configure a git repo as storage, I know for a fact that the credentials are correct for a user with write access to the repo, I even tried hardcoding the password and making the repo public, all attempts returning the same error, any ideas of what I am doing wrong?
d

Dennis (Cerbos)

06/06/2023, 9:20 PM
Hi, Have you tried using a GitHub access token as a password?
n

Norberto Cáceres

06/06/2023, 10:12 PM
I got it working with a GH access token, the last thing I need to figure out is how one might load variable like "${GITHUB_ACCESS_TOKEN}" so it's available to the config?
d

Dennis (Cerbos)

06/06/2023, 10:21 PM
You can create a config file with placeholders that read their values from the environment by using the syntax ${VARIABLE}.
2 Views