Environment Secrets Store¶
Class: EnvironmentSecretsStoreBlockV1
The Environment Secrets Store block is a secure and flexible solution for fetching secrets stored as environmental variables. It is designed to enable Workflows to access sensitive information, such as API keys or service credentials, without embedding them directly into the Workflow definitions.
This block simplifies the integration of external services while prioritizing security and adaptability. You can
use secrets fetched from environment (which can be set by system administrator to be available in self-hosted
inference server) to pass as inputs to other steps.
Credentials security
It is strongly advised to use secrets providers (available when running self-hosted inference server)
or workflows parameters to pass credentials. Do not hardcode secrets in Workflows definitions.
Blocks limitations
This block can only run on self-hosted inference server, we Roboflow does not allow exporting env
variables from Hosted Platform due to security concerns.
🛠️ Block configuration¶
Block has configuration parameter variables_storing_secrets that must be filled with list of
environmental variables which will be exposed as block outputs. Thanks to that, you can
use them as inputs for other blocks. Please note that names of outputs will be lowercased. For example,
the following settings:
variables_storing_secrets=["MY_SECRET_A", "MY_SECRET_B"]
-
my_secret_a -
my_secret_b
Type identifier¶
Use the following identifier in step "type" field: roboflow_core/environment_secrets_store@v1to add the block as
as step in your workflow.
Properties¶
| Name | Type | Description | Refs |
|---|---|---|---|
name |
str |
Enter a unique identifier for this step.. | ❌ |
variables_storing_secrets |
List[str] |
List with names of environment variables to fetch. Each will create separate block output.. | ❌ |
The Refs column marks possibility to parametrise the property with dynamic values available
in workflow runtime. See Bindings for more info.
Available Connections¶
Compatible Blocks
Check what blocks you can connect to Environment Secrets Store in version v1.
- inputs: None
- outputs:
VLM as Detector,Byte Tracker,SAM 3,Google Vision OCR,Overlap Filter,Detections Stabilizer,Image Preprocessing,LMM For Classification,Ellipse Visualization,Stitch Images,Triangle Visualization,Detections Combine,QR Code Generator,Image Slicer,VLM as Classifier,Background Color Visualization,Model Monitoring Inference Aggregator,Segment Anything 2 Model,Template Matching,Distance Measurement,Dot Visualization,EasyOCR,Halo Visualization,Data Aggregator,Slack Notification,Byte Tracker,Color Visualization,JSON Parser,Llama 3.2 Vision,QR Code Detection,Expression,Line Counter,Size Measurement,Email Notification,Delta Filter,Corner Visualization,Mask Visualization,Continue If,Time in Zone,Stability AI Outpainting,Roboflow Custom Metadata,Barcode Detection,Dominant Color,Time in Zone,Crop Visualization,VLM as Detector,Grid Visualization,Perspective Correction,Clip Comparison,Single-Label Classification Model,Contrast Equalization,Polygon Zone Visualization,CLIP Embedding Model,Bounding Box Visualization,Camera Focus,Icon Visualization,Image Blur,Time in Zone,Path Deviation,Anthropic Claude,Cosine Similarity,Multi-Label Classification Model,Dynamic Crop,Bounding Rectangle,Path Deviation,Detections Consensus,Model Comparison Visualization,Cache Get,Local File Sink,Rate Limiter,Identify Changes,Classification Label Visualization,SIFT Comparison,Circle Visualization,Image Contours,Relative Static Crop,Detections Filter,VLM as Classifier,Stability AI Inpainting,Moondream2,Velocity,OCR Model,Florence-2 Model,SIFT,Morphological Transformation,Detections Transformation,Reference Path Visualization,Gaze Detection,SIFT Comparison,Buffer,Polygon Visualization,Image Slicer,Florence-2 Model,Detection Offset,Clip Comparison,Perception Encoder Embedding Model,Instance Segmentation Model,OpenAI,Image Convert Grayscale,PTZ Tracking (ONVIF).md),Line Counter,Object Detection Model,Keypoint Detection Model,Google Gemini,Label Visualization,Email Notification,Trace Visualization,Byte Tracker,Dynamic Zone,YOLO-World Model,CogVLM,OpenAI,Detections Stitch,Stitch OCR Detections,Cache Set,Blur Visualization,CSV Formatter,Single-Label Classification Model,OpenAI,Detections Classes Replacement,Twilio SMS Notification,Absolute Static Crop,Seg Preview,Roboflow Dataset Upload,Roboflow Dataset Upload,Property Definition,Stability AI Image Generation,Webhook Sink,Depth Estimation,Dimension Collapse,Line Counter Visualization,Instance Segmentation Model,Multi-Label Classification Model,Pixelate Visualization,Image Threshold,Detections Merge,Keypoint Detection Model,LMM,Google Gemini,Identify Outliers,Pixel Color Count,SmolVLM2,Qwen2.5-VL,First Non Empty Or Default,Camera Calibration,Keypoint Visualization,Object Detection Model
Input and Output Bindings¶
The available connections depend on its binding kinds. Check what binding kinds
Environment Secrets Store in version v1 has.
Bindings
-
input
-
output
*(*): Equivalent of any element.
Example JSON definition of step Environment Secrets Store in version v1
{
"name": "<your_step_name_here>",
"type": "roboflow_core/environment_secrets_store@v1",
"variables_storing_secrets": [
"MY_API_KEY",
"OTHER_API_KEY"
]
}