Red Hat Satellite API call to list the activation keys associated with a specific lifecycle environment returns all activation keys in the organization

Solution Verified - Updated -

Issue

  • The following Satellite API endpoint, referred to in the documentation, returns the activation keys of other lifecycle environments, even though the environment is part of the URL path:

    # curl -Ss -u "$auth" 'https://satellite.example.com/katello/api/environments/3/activation_keys?content_view_id=361'
    
  • The expectation is that the above API call returns only the activation keys associated with the lifecycle environment specified in the search.

Environment

  • Red Hat Satellite 6.17

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content