Environment Secrets Store¶
Class: EnvironmentSecretsStoreBlockV1
The Environment Secrets Store block is a secure and flexible solution for fetching secrets stored as environmental variables.
How This Block Works¶
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:
Motion Detection,PTZ Tracking (ONVIF).md),Image Preprocessing,Webhook Sink,Qwen2.5-VL,Detections Classes Replacement,Stitch OCR Detections,Path Deviation,Google Gemini,Slack Notification,Triangle Visualization,Detections Stitch,Barcode Detection,Bounding Box Visualization,Stitch Images,Email Notification,LMM For Classification,Morphological Transformation,Icon Visualization,Mask Area Measurement,Anthropic Claude,Heatmap Visualization,Grid Visualization,Property Definition,Detections Filter,Bounding Rectangle,Path Deviation,OpenAI,Distance Measurement,Twilio SMS Notification,Email Notification,Model Comparison Visualization,Cache Get,Perception Encoder Embedding Model,Absolute Static Crop,Detections List Roll-Up,Byte Tracker,Delta Filter,Halo Visualization,Local File Sink,Detections Merge,OpenAI,Stability AI Outpainting,Florence-2 Model,Clip Comparison,Detection Event Log,Dynamic Zone,VLM As Classifier,SAM 3,Time in Zone,Seg Preview,Keypoint Visualization,SmolVLM2,Roboflow Custom Metadata,Background Color Visualization,Template Matching,Instance Segmentation Model,Camera Focus,Line Counter,Detections Consensus,CLIP Embedding Model,Velocity,Polygon Visualization,VLM As Detector,Anthropic Claude,Time in Zone,Camera Focus,Keypoint Detection Model,Mask Visualization,Line Counter,Llama 3.2 Vision,Detection Offset,Classification Label Visualization,OpenAI,Byte Tracker,Line Counter Visualization,Single-Label Classification Model,Keypoint Detection Model,Clip Comparison,Identify Outliers,SIFT Comparison,Image Convert Grayscale,Polygon Zone Visualization,Detections Stabilizer,Stitch OCR Detections,Relative Static Crop,CSV Formatter,Byte Tracker,EasyOCR,Continue If,Data Aggregator,OCR Model,Detections Transformation,Dimension Collapse,Roboflow Dataset Upload,Contrast Equalization,Corner Visualization,Text Display,Time in Zone,SIFT Comparison,Dynamic Crop,Image Slicer,Detections Combine,CogVLM,SIFT,Identify Changes,Expression,Halo Visualization,Overlap Filter,Object Detection Model,Size Measurement,Google Vision OCR,QR Code Generator,Gaze Detection,Florence-2 Model,Image Blur,Instance Segmentation Model,QR Code Detection,Google Gemini,Blur Visualization,Cosine Similarity,JSON Parser,Google Gemini,Multi-Label Classification Model,Roboflow Dataset Upload,Single-Label Classification Model,Dot Visualization,Dominant Color,VLM As Classifier,Image Contours,SAM 3,Stability AI Image Generation,First Non Empty Or Default,Ellipse Visualization,Pixelate Visualization,Pixel Color Count,Reference Path Visualization,Multi-Label Classification Model,Moondream2,YOLO-World Model,Crop Visualization,Twilio SMS/MMS Notification,Circle Visualization,Trace Visualization,Rate Limiter,Color Visualization,Qwen3-VL,Object Detection Model,OpenAI,Segment Anything 2 Model,Cache Set,Polygon Visualization,Image Threshold,Model Monitoring Inference Aggregator,VLM As Detector,Stability AI Inpainting,Buffer,Background Subtraction,Image Slicer,Perspective Correction,Camera Calibration,Depth Estimation,Label Visualization,Anthropic Claude,LMM,SAM 3
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"
]
}