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