<https://docs.cerbos.dev/cerbos/latest/quickstart....
# community
s
https://docs.cerbos.dev/cerbos/latest/quickstart.html the question is: how to add the same policies of these two yaml files with the adminApi ?
a
Hey I would recommend using cerbosctl with the Admin API to load those policies via the
cerbosctl put
command https://docs.cerbos.dev/cerbos/latest/cli/cerbosctl.html#put
c
You can see how to provide credentials to
cerbosctl
here: https://docs.cerbos.dev/cerbos/latest/cli/cerbosctl.html. It's essentially
cerbosctl --server=localhost:3593 --username=user --password=password ...
You can also use environment variables or a netrc file as well
s
Thanks, I will read the doc of the cerbosctl.