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