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