Skip to content

Minor auth configuration issues #4

Closed

Description

@NithinKumaraNT
  1. Ability to pass secrets with hyphen "-" in the secret name : dev/data-api/mb/customer-segmentation does not work but dev/data_api/mb/customer_segmentation works.
  2. Setting auth enabled config to false still reads from secret manager. Expected behaviour would be that no aws call is made in the background. This would be helpful for local testing.
auth:
  enabled: false
  type: basic
  from-aws-secretmanager:
    secret_name: dev/data_api/mb/customer_segmentation
    region: eu-central-1
(2024-11-27 11:16:44) [INFO    ] Finished warming up endpoint caches! Let's go!
(2024-11-27 11:16:44) [DEBUG   ] Initializing AWS Secrets Manager for endpoint: /recommendationsbycategory
(2024-11-27 11:16:44) [DEBUG   ] Executing init statement for AWS Secrets Manager for endpoint: /recommendationsbycategory
(2024-11-27 11:16:51) [DEBUG   ] 1 init statements executed successfully: 
CREATE OR REPLACE SECRET dev_data_api_mb_krass (TYPE S3, PROVIDER CREDENTIAL_CHAIN, REGION 'eu-central-1');
(2024-11-27 11:16:51) [DEBUG   ] Retrieving secret 'dev/data_api/mb/customer_segmentation' -> 'dev_data_api_mb_krass' from AWS Secrets Manager
(2024-11-27 11:17:16) [DEBUG   ] Successfully retrieved secret 'secret_name': *****[119]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions