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