Skip to content

[Proposal] Identity and Secret as Immutable objects #80

Description

@myuwono

I propose that Identity and Secret should be made immutable.

The challenge with metadata update and secret get (i.e. to get the encryption details of a secret retrieved via lookup) stems mainly because we are allowing version, metadata, and encryption details mutate the current object. This in turn creates issues around thread safety and complexity around memoization and caching.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions