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