Skip to content

Secret Manager

The FlexAI Secret Manager provides a secure, encrypted storage solution for managing sensitive information such as API keys, access tokens, credentials, and configuration data. All secrets are encrypted at rest and can be safely referenced in your training and inference workloads.

The Secret Manager enables you to:

  • Securely store credentials for cloud storage providers (AWS S3, Google Cloud Storage, etc.)
  • Manage API tokens for services like Hugging Face Hub
  • Store configuration files as secrets for easy deployment
  • Reference secrets in workloads without exposing sensitive data
  • Inject environment variables automatically during training and inference

Encrypted Storage

All secrets are encrypted at rest using industry-standard encryption protocols

Flexible Content Types

Store strings, tokens, or entire files as secrets for maximum flexibility

Workload Integration

Automatically inject secrets as environment variables in Training and Inference jobs

Access Control

Secure access patterns ensure secrets are only available to authorized workloads

Store access credentials for Remote Storage Connections to enable seamless Dataset uploads and Checkpoint exports:

  • AWS S3: Store Secret Access Keys for S3 bucket access
  • Google Cloud Storage: Store Service Account JSON files
  • Azure Blob Storage: Store connection strings and access keys

Securely authenticate to Hugging Face to pull Models and Datasets.

Store sensitive configuration data and credentials:

  • Database connections: Store connection strings and credentials
  • External APIs: Store API keys for third-party services
  • Certificates: Store SSL/TLS certificates and private keys
  • Experiment Tracking: Store API keys for experiment tracking services, such as Weights & Biases, Neptune AI, or MLflow
  • Never include secrets in code - Always use the Secret Manager instead of hardcoding credentials
  • Use descriptive names - Name secrets clearly to identify their purpose and scope
  • Rotate credentials regularly - FlexAI Secret Manager allows you to update Secrets periodically and remove unused ones

Visit the Secret Manager section 🔗 of the FlexAI Console to create, update, or delete Secrets through an intuitive web interface.