mirror of
https://github.com/NVIDIA/OpenShell.git
synced 2026-10-20 06:00:06 +08:00
BREAKING CHANGE: Policy YAML and public policy APIs now use the protobuf-shaped openshell.policy.v1.PolicyDocument contract. Signed-off-by: Piotr Mlocek <pmlocek@nvidia.com>
42 lines
1.6 KiB
YAML
42 lines
1.6 KiB
YAML
# SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
# Example provider profile. OpenShell does not load it; import it explicitly:
|
|
# openshell provider profile lint -f providers/nvidia.yaml
|
|
# openshell provider profile import -f providers/nvidia.yaml --global
|
|
#
|
|
# Copy and edit this file rather than importing it unchanged. `binaries` is the
|
|
# least-privilege control that decides which processes may reach the endpoints
|
|
# below, so it has to name the paths in *your* image.
|
|
#
|
|
# Client binaries: curl.
|
|
# Reference layout: curl at /usr/bin/curl or /usr/local/bin/curl. Add the SDK
|
|
# interpreter if the workload calls the API through a library.
|
|
# Credential scope: NVIDIA_API_KEY, sent as a bearer authorization header to
|
|
# integrate.api.nvidia.com and nowhere else.
|
|
# Endpoint access: integrate.api.nvidia.com, read-write, L7 enforced.
|
|
# Smoke test: openshell sandbox create --provider <name> -- \
|
|
# curl -sS https://integrate.api.nvidia.com/v1/models
|
|
|
|
id: nvidia
|
|
display_name: NVIDIA
|
|
description: NVIDIA inference endpoints
|
|
category: inference
|
|
inference_capable: true
|
|
credentials:
|
|
- name: api_key
|
|
description: NVIDIA API key
|
|
env_vars: [NVIDIA_API_KEY]
|
|
required: true
|
|
auth_style: bearer
|
|
header_name: authorization
|
|
discovery:
|
|
credentials: [api_key]
|
|
endpoints:
|
|
- host: integrate.api.nvidia.com
|
|
ports: [443]
|
|
protocol: rest
|
|
access: read-write
|
|
enforcement: enforce
|
|
binaries: [/usr/bin/curl, /usr/local/bin/curl]
|