Skip to main content

python toolset to secure AI agents with secret provisioning, authentication, call monitoring and authorization

Project description

secure-ai-toolset

A toolset repository for AI agents.

Overview

A toolset for AI builders to use in agentic AI frameworks to secure API keys, provide authentication, and authorization.

Features

Secured environment variables provisioning

This toolset can populate API keys as environment variables. The API keys are stored at the following secret providers and provisioned to the process memory only. These are the supported secret providers:

  • AWS Secret Manager
  • CyberArk Conjur The secrets can be populated and depopulated, for a specific context: Agent, Tool, HTTP call Secrets are organized in namespaces, to limit teh exposure to minimum

OAuth token validation

TBD

Authorization to tool calls

TBD

Auditing of calls

TBD

Installation

To download the toolset, use the following command:

git clone https://github.com/your-repo/secure-ai-toolset.git

Setup instructions

pip

pip3 install secure-ai-toolset

poetry

Note: Ensure you have Poetry version greater than 1.8.0 installed.

poetry add secure-ai-toolset

Usage

Here is an example of how to consume the toolset in your project:

# Import the necessary modules from the toolset
from secure_ai_toolset import APIKeyManager, AuthManager

# Initialize the API key manager
api_key_manager = APIKeyManager()
api_key_manager.secure_key('your-api-key')

# Initialize the authentication manager
auth_manager = AuthManager()
auth_manager.authenticate_user('username', 'password')

For more detailed documentation, please refer to the docs.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

secure_ai_toolset-0.0.8.tar.gz (16.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

secure_ai_toolset-0.0.8-py3-none-any.whl (23.2 kB view details)

Uploaded Python 3

File details

Details for the file secure_ai_toolset-0.0.8.tar.gz.

File metadata

  • Download URL: secure_ai_toolset-0.0.8.tar.gz
  • Upload date:
  • Size: 16.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.11

File hashes

Hashes for secure_ai_toolset-0.0.8.tar.gz
Algorithm Hash digest
SHA256 f8a67376cbda48c706d37337a9c747bc6efbd14174fbab8a75af550db4478c51
MD5 4e9d5279883866bc317887512c32b098
BLAKE2b-256 b239fd7d029c1418836ef2b41dec58a292abe0ee3130cc5b5bd41dc3dcccfeab

See more details on using hashes here.

File details

Details for the file secure_ai_toolset-0.0.8-py3-none-any.whl.

File metadata

File hashes

Hashes for secure_ai_toolset-0.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 5a6aa7854c1d3116aa1673d7a094af3abd642d849d7568165813b324787b537b
MD5 5290adde97d63d9c0f8c818a105025bd
BLAKE2b-256 e0f78d034026a83e402d15c999320800bedcd88c42a2b1e32cbb6ff30606bd47

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page