Skip to content

Options pattern is not reading updated values. #123

Closed
@jonashendrickx

Description

@jonashendrickx

It doesn't appear like the configuration section is being properly bound at all. This causes updated values not being read at all, and we're just being returned the old cached values instead.

This could be considered a more serious issue, as it requires the application to be restarted every time an api key or api secret needs to be rotated, effectively causing down-time.

https://learn.microsoft.com/en-us/aspnet/core/fundamentals/configuration/options?view=aspnetcore-8.0#use-ioptionssnapshot-to-read-updated-data

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions