Skip to content

Add support for optional secrets #153

Open

Description

@NiveditJain

Context

Currently all secrets values are marked as required in Pydantic secrets model for custom Nodes, the ask is simple to make some secrets optional.

Activity

  1. VishuBa commented on Sep 4, 2025

    @VishuBa

    Any reference doc? that'll help me understand this issue better.

  2. NiveditJain commented on Sep 4, 2025

    @NiveditJain
    MemberAuthor

    Hey @VishuBa
    Check this: https://docs.exosphere.host/exosphere/register-node/#secrets

    Currently user can define secret as:

    class Secrets(BaseModel):
        api_key: str
        database_url: str
        encryption_key: str
    

    Now as I user might want some of these to be optional, probably by default set to None in Runtime. Currently everything of these is mandatory for state to be constructed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions