Provider Slug.
sagemakerObiguard SDK Integration with AWS Sagemaker
1. Install the Obiguard SDK
Add the Obiguard SDK to your application to interact with Sagemaker’s API through Obiguard’s gateway.- Python SDK
2. Initialize Obiguard with an access key
There are multiple ways to integrate Sagemaker with Obiguard. You can use your AWS credentials, or use an assumed role. In this example we will add your AWS details to Obiguard as a provider credential and use an access key to interact with Sagemaker. This helps you restrict access (specific models, few endpoints, etc).Here’s how to find your AWS credentials:
Use your
Integration Guide
Take your
AWS Access Key
Use your
AWS Secret Access Key, AWS Access Key Id, and AWS Region to configure your provider credential.Integration Guide
AWS Assumed Role
Take your
AWS Assumed Role ARN and AWS Region to configure your provider credential.- Python SDK
3. Invoke the Sagemaker model
- Python SDK
- REST API
Making Requests Without Stored Provider Credentials
If you do not want to add your AWS details to Obiguard vault, you can also directly pass them while instantiating the Obiguard client. These are the supported headers/parameters for Sagemaker (Not required if the provider credential is stored in Obiguard):Example
- Python SDK
- cURL

