proxygen-cli 2.1.11__tar.gz → 2.1.12__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {proxygen_cli-2.1.11 → proxygen_cli-2.1.12}/PKG-INFO +1 -1
- {proxygen_cli-2.1.11 → proxygen_cli-2.1.12}/proxygen_cli/lib/credentials.py +2 -8
- {proxygen_cli-2.1.11 → proxygen_cli-2.1.12}/pyproject.toml +1 -1
- {proxygen_cli-2.1.11 → proxygen_cli-2.1.12}/README.md +0 -0
- {proxygen_cli-2.1.11 → proxygen_cli-2.1.12}/proxygen_cli/__init__.py +0 -0
- {proxygen_cli-2.1.11 → proxygen_cli-2.1.12}/proxygen_cli/cli/command_credentials.py +0 -0
- {proxygen_cli-2.1.11 → proxygen_cli-2.1.12}/proxygen_cli/cli/command_docker.py +0 -0
- {proxygen_cli-2.1.11 → proxygen_cli-2.1.12}/proxygen_cli/cli/command_instance.py +0 -0
- {proxygen_cli-2.1.11 → proxygen_cli-2.1.12}/proxygen_cli/cli/command_main.py +0 -0
- {proxygen_cli-2.1.11 → proxygen_cli-2.1.12}/proxygen_cli/cli/command_pytest_nhsd_apim_token.py +0 -0
- {proxygen_cli-2.1.11 → proxygen_cli-2.1.12}/proxygen_cli/cli/command_secret.py +0 -0
- {proxygen_cli-2.1.11 → proxygen_cli-2.1.12}/proxygen_cli/cli/command_settings.py +0 -0
- {proxygen_cli-2.1.11 → proxygen_cli-2.1.12}/proxygen_cli/cli/command_spec.py +0 -0
- {proxygen_cli-2.1.11 → proxygen_cli-2.1.12}/proxygen_cli/lib/auth.py +0 -0
- {proxygen_cli-2.1.11 → proxygen_cli-2.1.12}/proxygen_cli/lib/constants.py +0 -0
- {proxygen_cli-2.1.11 → proxygen_cli-2.1.12}/proxygen_cli/lib/dot_proxygen.py +0 -0
- {proxygen_cli-2.1.11 → proxygen_cli-2.1.12}/proxygen_cli/lib/output.py +0 -0
- {proxygen_cli-2.1.11 → proxygen_cli-2.1.12}/proxygen_cli/lib/proxygen_api.py +0 -0
- {proxygen_cli-2.1.11 → proxygen_cli-2.1.12}/proxygen_cli/lib/settings.py +0 -0
- {proxygen_cli-2.1.11 → proxygen_cli-2.1.12}/proxygen_cli/lib/spec.py +0 -0
- {proxygen_cli-2.1.11 → proxygen_cli-2.1.12}/proxygen_cli/lib/spec_server.py +0 -0
- {proxygen_cli-2.1.11 → proxygen_cli-2.1.12}/proxygen_cli/lib/version.py +0 -0
- {proxygen_cli-2.1.11 → proxygen_cli-2.1.12}/proxygen_cli/test/__init__.py +0 -0
- {proxygen_cli-2.1.11 → proxygen_cli-2.1.12}/proxygen_cli/test/command_credentials_test.py +0 -0
- {proxygen_cli-2.1.11 → proxygen_cli-2.1.12}/proxygen_cli/test/command_instance_test.py +0 -0
- {proxygen_cli-2.1.11 → proxygen_cli-2.1.12}/proxygen_cli/test/command_main_test.py +0 -0
- {proxygen_cli-2.1.11 → proxygen_cli-2.1.12}/proxygen_cli/test/command_pytest_nhsd_apim_token_test.py +0 -0
- {proxygen_cli-2.1.11 → proxygen_cli-2.1.12}/proxygen_cli/test/command_secret_test.py +0 -0
- {proxygen_cli-2.1.11 → proxygen_cli-2.1.12}/proxygen_cli/test/command_settings_test.py +0 -0
- {proxygen_cli-2.1.11 → proxygen_cli-2.1.12}/proxygen_cli/test/command_spec_test.py +0 -0
- {proxygen_cli-2.1.11 → proxygen_cli-2.1.12}/proxygen_cli/test/conftest.py +0 -0
- {proxygen_cli-2.1.11 → proxygen_cli-2.1.12}/proxygen_cli/test/fixtures/client.key +0 -0
- {proxygen_cli-2.1.11 → proxygen_cli-2.1.12}/proxygen_cli/test/fixtures/client.pem +0 -0
- {proxygen_cli-2.1.11 → proxygen_cli-2.1.12}/proxygen_cli/test/fixtures/secret.txt +0 -0
- {proxygen_cli-2.1.11 → proxygen_cli-2.1.12}/proxygen_cli/test/mock_private_key.py +0 -0
- {proxygen_cli-2.1.11 → proxygen_cli-2.1.12}/proxygen_cli/test/validate_cli_version_test.py +0 -0
|
@@ -15,11 +15,6 @@ from pydantic import (
|
|
|
15
15
|
from . import dot_proxygen
|
|
16
16
|
from . import constants
|
|
17
17
|
|
|
18
|
-
data = {
|
|
19
|
-
"client_id": constants.PROXYGEN_CLIENT_ID,
|
|
20
|
-
"client_secret": constants.PROXYGEN_CLIENT_SECRET,
|
|
21
|
-
}
|
|
22
|
-
|
|
23
18
|
|
|
24
19
|
def _yaml_credentials_file_source(_):
|
|
25
20
|
with dot_proxygen.credentials_file().open() as yaml_file:
|
|
@@ -32,7 +27,6 @@ def create_yaml_credentials_file():
|
|
|
32
27
|
|
|
33
28
|
if not os.path.exists(file_path):
|
|
34
29
|
with open(file_path, "w"):
|
|
35
|
-
yaml.dump(data, file_path)
|
|
36
30
|
pass
|
|
37
31
|
|
|
38
32
|
|
|
@@ -42,8 +36,8 @@ class Credentials(BaseSettings):
|
|
|
42
36
|
)
|
|
43
37
|
private_key_path: Optional[str] = None
|
|
44
38
|
key_id: Optional[str] = None
|
|
45
|
-
client_id: str
|
|
46
|
-
client_secret: Optional[str] =
|
|
39
|
+
client_id: str = constants.PROXYGEN_CLIENT_ID
|
|
40
|
+
client_secret: Optional[str] = constants.PROXYGEN_CLIENT_SECRET
|
|
47
41
|
username: Optional[str] = None
|
|
48
42
|
password: Optional[str] = None
|
|
49
43
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{proxygen_cli-2.1.11 → proxygen_cli-2.1.12}/proxygen_cli/cli/command_pytest_nhsd_apim_token.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{proxygen_cli-2.1.11 → proxygen_cli-2.1.12}/proxygen_cli/test/command_pytest_nhsd_apim_token_test.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|