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