@@ -58,8 +58,29 @@ retrieve-proxygen-key: # Obtain the 'machine user' credentials from AWS SSM (Dev
5858 aws ssm get-parameter --name /proxygen/private_key_temp --with-decryption | jq " .Parameter.Value" --raw-output \
5959 > ~ /.proxygen/eligibility-signposting-api.pem
6060
61- setup-proxygen-credentials : # Copy Proxygen templated credentials to where it expected them
62- cd specification && cp -r .proxygen ~
61+ # setup-proxygen-credentials: # Copy Proxygen templated credentials to where it expected them
62+ # cd specification && cp -r .proxygen ~
63+ #
64+ # setup-proxygen-credentials-ptl: # Copy Proxygen templated credentials to where it expected them
65+ # cd specification && cp -r .proxygen/credentials-ptl.yaml ~/.proxygen/credentials.yaml && \
66+ # cp .proxygen/settings-ptl.yaml ~/.proxygen/settings.yaml
67+ # proxygen credentials list
68+ #
69+ # setup-proxygen-credentials-prod: # Copy Proxygen templated credentials to where it expected them
70+ # cd specification && cp -r .proxygen/credentials-prod.yaml ~/.proxygen/credentials.yaml && \
71+ # cp .proxygen/settings-ptl.yaml ~/.proxygen/settings.yaml
72+ # proxygen credentials list
73+
74+ setup-proxygen-credentials :
75+ cd specification && \
76+ cp .proxygen/credentials-$(ENV ) .yaml ~ /.proxygen/credentials.yaml && \
77+ cp .proxygen/settings-$(ENV ) .yaml ~ /.proxygen/settings.yaml
78+
79+ setup-proxygen-credentials-ptl :
80+ $(MAKE ) setup-proxygen-credentials ENV=ptl
81+
82+ setup-proxygen-credentials-prod :
83+ $(MAKE ) setup-proxygen-credentials ENV=prod
6384
6485get-spec : # Get the most recent specification live in proxygen
6586 $(MAKE ) setup-proxygen-credentials
0 commit comments