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