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