Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

is it possible to use cachix API keys rather the traditional signing keys? #60

Open
nixinator opened this issue Dec 8, 2021 · 2 comments

Comments

@nixinator
Copy link

As highlighted here.

https://blog.cachix.org/posts/2020-11-09-write-access-control-for-binary-caches/

@roberth
Copy link
Member

roberth commented Dec 8, 2021

Yes, this is supported. The reference and guide documentation needs to be updated to clarify this.

Cachix caches without signingKeys will be pushed to, as part of the write token feature (Cachix-managed signing keys). Make sure to enter an authToken with write access. CachixCache reference doc: https://docs.hercules-ci.com/hercules-ci-agent/binary-caches-json/#_cachixcache

@nixinator
Copy link
Author

seems to be working well. Here's what i used in my binary-caches.json

{ "name-of-the-cachix-cache":
    { "kind": "CachixCache"
    , "authToken": "auth write token generated for the above cache on cachix.org"
    , "publicKeys": ["the public key of the cachix cache"]
    }
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants