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