Skip to content

feat(authz): Add YAML support for CedarConfig - #187

Merged
JAORMX merged 1 commit into
mainfrom
feature/yaml-support-for-cedar-config
Apr 15, 2025
Merged

JAORMX merged 1 commit into
mainfrom
feature/yaml-support-for-cedar-config

Conversation

@JAORMX

@JAORMX JAORMX commented Apr 15, 2025

Copy link
Copy Markdown
Collaborator

This change adds support for reading CedarConfig from YAML files in addition to
the existing JSON support. The implementation includes:

  1. Adding YAML tags to the Config and CedarConfig structs
  2. Modifying the LoadConfig function to detect file format based on extension
  3. Updating documentation to reflect YAML support

This enhancement provides more flexibility for users who prefer YAML over JSON
for configuration files.

This change adds support for reading CedarConfig from YAML files in addition to
the existing JSON support. The implementation includes:

1. Adding YAML tags to the Config and CedarConfig structs
2. Modifying the LoadConfig function to detect file format based on extension
3. Updating documentation to reflect YAML support

This enhancement provides more flexibility for users who prefer YAML over JSON
for configuration files.
@JAORMX
JAORMX merged commit 097406e into main Apr 15, 2025
@JAORMX
JAORMX deleted the feature/yaml-support-for-cedar-config branch April 15, 2025 10:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants