def METHOD_NAME(cluster):
    """
    Get json with cluster credentials
    Args:
        cluster (str): Cluster name.
    Returns:
        json: cluster credentials
    """
    cluster_details = get_cluster_details(cluster)
    cluster_id = cluster_details.get("id")
    cmd = f"ocm get /api/clusters_mgmt/v1/clusters/{cluster_id}/credentials"
    out = run_cmd(cmd)
    return json.loads(out)