Skip to content

Getting user key via incorrect API? #301

@veetow

Description

@veetow

Based on the API documentation for retrieving user keys:
https://docs.chef.io/api_chef_server.html#id12

It would seem to me that get_key should be using the root-scoped v1 API instead of the org-scoped one that's being used here:

api.org_scoped_rest_v1.get("#{request_actor_type}/#{name}/keys/default").fetch("public_key")

Am I understanding correctly or is the Chef API documentation incorrect?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions