Skip to content

Commit

Permalink
Changes mentioned in the comment for amplitude
Browse files Browse the repository at this point in the history
  • Loading branch information
soundayra21 committed Apr 17, 2023
1 parent 3fcf530 commit 258bfdb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions data/saas/config/amplitude_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,17 @@ saas_config:
connector_params:
- name: domain
default_value: amplitude.com
- name: authorization_key
- name: api_key
- name: secret_key

client_config:
protocol: https
host: <domain>
authentication:
strategy: api_key
strategy: basic
configuration:
headers:
- name: Authorization
value: Basic <authorization_key>
username: <api_key>
password: <secret_key>

test_request:
method: GET
Expand Down
2 changes: 1 addition & 1 deletion tests/fixtures/saas/amplitude_fixtures.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
def amplitude_secrets(saas_config):
return {
"domain": pydash.get(saas_config, "amplitude.domain") or secrets["domain"],
"authorization_key": pydash.get(saas_config, "amplitude.authorization_key") or secrets["authorization_key"],
"secret_key": pydash.get(saas_config, "amplitude.secret_key") or secrets["secret_key"],
"api_key": pydash.get(saas_config, "amplitude.api_key") or secrets["api_key"],
"identity_domain": pydash.get(saas_config, "amplitude.identity_domain") or secrets["identity_domain"],

Expand Down

0 comments on commit 258bfdb

Please sign in to comment.