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