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