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

admins option seems useless #17

Open
nhuff opened this issue Oct 1, 2014 · 3 comments
Open

admins option seems useless #17

nhuff opened this issue Oct 1, 2014 · 3 comments
Labels
Triage: Support Indicates an issue that is a support question and will be redirected to other mediums.

Comments

@nhuff
Copy link
Contributor

nhuff commented Oct 1, 2014

For enterprise chef is there anyway to give clients permission to read the users endpoint? I can't find anywhere set permission for user objects on the chef server (11.14). If I set admins to anything other than '' I get a permission denied error and the chef run errors out.

@hh
Copy link

hh commented Jan 3, 2016

Not to mention admin seems required:

module ChefVaultCookbook
  module Resource
    class ChefVaultSecret < Chef::Resource::LWRPBase
      self.resource_name = 'chef_vault_secret'
...
      attribute(:admins, kind_of: [String, Array], required: true)

It was suggested that I use knife-acl to add read permissions for the users container to the client, but it doesn't look like that's possible with enterprise/hosted chef. users isn't a container, it seems to be a special object that only other users / admins can read. Not normal clients.

@hh
Copy link

hh commented Jan 4, 2016

Looks like it's a known access to user keys issue
: http://onddo.github.io/chef-encrypted-attributes/#chef-user-keys-access-limitation

I'm guessing there aren't many folks using chef-vault (creating/encrypting in a recipe on a node) or they'd have similar issues.

@tas50
Copy link
Contributor

tas50 commented Feb 21, 2017

Can you chime in here @thommay

@tas50 tas50 added Triage: Support Indicates an issue that is a support question and will be redirected to other mediums. and removed Type: Question labels Jan 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Triage: Support Indicates an issue that is a support question and will be redirected to other mediums.
Development

No branches or pull requests

5 participants