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