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