Skip to content

feat: Add Support for Secrets defined at other objects#120

Open
psuet wants to merge 1 commit into
miaow2:mainfrom
psuet:secrets-precedence
Open

feat: Add Support for Secrets defined at other objects#120
psuet wants to merge 1 commit into
miaow2:mainfrom
psuet:secrets-precedence

Conversation

@psuet
Copy link
Copy Markdown

@psuet psuet commented May 24, 2026

Right now this plugin only supports configuring secrets for each device seperately. This is not ideal in setups where the same credentials are used for a class of devices.

This pull request introduces a configurable and extensible mechanism for fetching secrets from related objects, allowing users to define the precedence order for where credentials are sourced (device, role, platform, etc.).

The plugin supports a SECRETS_PRECEDENCE configuration option, letting users specify the order in which the device secrets and related object secrets are checked for credentials. The default configuration for SECRETS_PRECEDENCE is set to ["device", "role", "platform"]

@psuet psuet changed the title feat: Add Support for Secrets defined at other levels feat: Add Support for Secrets defined at other objects May 24, 2026
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.

1 participant