I’m trying to create a pypi repository which requires credentials to download anything. I followed this guide Protect Content - Pulp Project.
Here is what I did:
pulp python repository create --name private --description "Protected repository"
pulp content-guard rbac create --name rbac
pulp group create --name python-ro
pulp content-guard rbac assign --name rbac --user denis --group python-ro
but when I try to create a distribution I’m getting the error:
pulp python distribution create --name protected-test --base-path private --repository private --content-guard python-ro
Error: A resource type must be specified with the content_guard option.
What I’m doing wrong here?