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