Security Framework Examples¶
Runnable security examples are maintained in the repository root under
examples/security/ and examples/12_security_levels/.
Why this layout?¶
Keep executable code close to runtime dependencies
Avoid drift between docs snippets and actual scripts
Allow direct copy/run workflows for users
Example Index¶
File |
Description |
Runtime |
|---|---|---|
|
Secure server with RequestAccess handling and session cleanup |
ROS2 |
|
Secure client authentication and secure communication setup |
ROS2 |
|
Access-level design pattern with |
Reference |
|
Security-level matrix and algorithm mapping helpers |
Pure Python |
Quick Run¶
cd /path/to/vyra_base_python
python examples/12_security_levels/security_level_matrix.py
# ROS2 examples
python examples/security/secure_server_node.py
python examples/security/secure_client_node.py
Validation Checklist¶
Before using the ROS2 examples, verify:
ROS2 environment is sourced
Interfaces are built and discoverable
VBASERequestAccessservice type is availableSecurity level and key/certificate settings match your environment