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